Put user definition in the shared file to reduce duplicate code
This commit is contained in:
parent
6dd7bfeb5c
commit
a8a5cdec7b
5 changed files with 19 additions and 50 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue