modified nix files tailored for nixos, must make modular to merge into master

This commit is contained in:
2024-09-09 09:27:52 -04:00
parent 414420f3ce
commit fc8c44c026
9 changed files with 82 additions and 45 deletions
+5 -2
View File
@@ -6,12 +6,12 @@
} @ args: {
# Set up networking configuration
networking.hostName = hostname;
networking.computerName = hostname;
# networking.computerName = hostname;
# networking.firewall.enable = true; # VERY important, do not touch
# networking.firewall.allowedTCPPorts = [];
# networking.firewall.allowedUDPPorts = [];
# networking.networkmanager.enable = pkgs.stdenv.isLinux; # Linux tool for managing network connections
system.defaults.smb.NetBIOSName = hostname;
# system.defaults.smb.NetBIOSName = hostname;
# Set up user accounts
# Don't forget to set a password with ‘passwd’!
@@ -21,7 +21,10 @@
then "/Users/${userName}"
else "/home/${userName}";
description = userName;
group = "wyatt";
isNormalUser = true;
};
users.groups.wyatt = {};
nix.settings.trusted-users = [userName];
}