renamed snowbelle.nix and seperated blake.nix

This commit is contained in:
2025-10-04 11:00:51 -05:00
parent 5b6aa36679
commit e020f15be4
4 changed files with 222 additions and 213 deletions

View File

@@ -4,6 +4,7 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../users/blake/blake.nix
../../modules/ssh.nix
../../modules/docker.nix
../../modules/syncthing.nix
@@ -28,34 +29,23 @@
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
# define blake group
users.groups.blake = {};
# create blake user
users.users.blake = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "docker" ]; # Enable sudo for the user.
shell = pkgs.zsh;
group = "blake";
};
# package install list
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
vim
rsync
wget
git
iptables
nftables
nettools
neofetch
btop
];
# enable flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# enable nvidia gpu passthrough to docker
#hardware.nvidia-container-toolkit.enable = true;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
22 # ssh