moved user declaration to file and invoking in the end
This commit is contained in:
11
hosts/box/user.nix
Normal file
11
hosts/box/user.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user