Put user definition in the shared file to reduce duplicate code

This commit is contained in:
Lillian Violet 2024-02-22 12:52:10 +01:00
parent 6dd7bfeb5c
commit a8a5cdec7b
5 changed files with 19 additions and 50 deletions

View file

@ -168,21 +168,6 @@
dockerCompat = true;
};
sops.secrets."lillian-password".neededForUsers = true;
users.users.lillian = {
isNormalUser = true;
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf" "docker"];
shell = pkgs.zsh;
hashedPasswordFile = config.sops.secrets."lillian-password".path;
};
users.mutableUsers = false;
users.users.root = {
hashedPassword = "*";
};
boot.bootspec.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.supportedFilesystems = ["bcachefs"];