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

11
hosts/box/user.nix Normal file
View File

@@ -0,0 +1,11 @@
{ config, pkgs, lib, ...}:
{
users.users.boxuser = {
isNormalUser = true;
extraGroups = ["wheel" "docker" "networkmanager"]; # Enable sudo for the user.
password = "boxuser";
packages = with pkgs; [
fastfetch
];
};
}