update: update config for tatara

This commit is contained in:
FabricSoul 2025-06-03 13:08:41 -04:00
parent 8ce9227801
commit 2a177bcb01
9 changed files with 162 additions and 99 deletions

View file

@ -16,21 +16,15 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
boot.supportedFilesystems = ["ntfs"];
# Basic system packages
environment.systemPackages = with pkgs; [
vim
git
greetd.greetd
greetd.tuigreet
libinput
libnotify
kitty
zsh
# ollama
ollama-cuda
usbutils
obs-studio
obs-studio-plugins.input-overlay
];
# Enable the OpenSSH daemon
@ -47,12 +41,8 @@
};
};
# Display manager configuration
services.displayManager.defaultSession = "hyprland";
# Default programs
programs = {
hyprland.enable = true;
zsh.enable = true;
};
networking.enableIPv6 = false;

View file

@ -1,5 +1,6 @@
{...}: {
services.tailscale = {
enable = true;
useRoutingFeatures = "client";
};
}

View file

@ -0,0 +1,35 @@
# hosts/tatara/default.nix
{
config,
lib,
pkgs,
...
}: {
imports = [
# Hardware configuration
./hardware-configuration.nix
# Common configurations
../common/global
../common/optional/docker.nix
];
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Networking
networking = {
hostName = "tatara";
networkmanager.enable = true;
useDHCP = lib.mkDefault true;
};
# User configuration
users.users.fabric = {
isNormalUser = true;
description = "fabric";
extraGroups = ["networkmanager" "wheel" "docker"];
shell = pkgs.zsh;
};
}

View file

@ -41,4 +41,20 @@
acceleration = "cuda";
host = "0.0.0.0";
};
# Display manager configuration
services.displayManager.defaultSession = "hyprland";
programs.hyprland.enable = true;
# Basic system packages
environment.systemPackages = with pkgs; [
libinput
libnotify
kitty
ollama-cuda
usbutils
obs-studio
ntfs3g
];
}