moved user declaration to file and invoking in the end

This commit is contained in:
2025-10-02 14:56:18 +03:00
parent 2c03ba2b42
commit 6228f2b8e9
2 changed files with 12 additions and 8 deletions

View File

@@ -12,15 +12,8 @@
../../modules/raspberrypi.nix
../../modules/common/networking.nix
../../modules/common/shell.nix
./user.nix
];
users.users.boxuser = {
isNormalUser = true;
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable sudo for the user.
password = "boxuser";
packages = with pkgs; [
fastfetch
];
};
networking.hostName = "box";
networking.firewall.enable = false;
# This will be overridden by system/default.nix