diff options
Diffstat (limited to 'modules/user.nix')
| -rw-r--r-- | modules/user.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/user.nix b/modules/user.nix index 55985b6..5fd5dfa 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -1,13 +1,17 @@ { config, pkgs, unstablePkgs, auxiliaryPkgs, ... }: { + age.secrets.password = { + file = ../secrets/password.age; + }; + users.mutableUsers = false; users.users.mel = { isNormalUser = true; description = "Mel"; shell = pkgs.fish; extraGroups = [ "wheel" "dialout" "kvm" "networkmanager" "adbusers" ]; - hashedPassword = "$y$j9T$4wGl.YJizIpcfFv0LyvLU0$7LLEkjIFWBOV.XXynReCOczBYNX0EZfMPIDB/bmmhhC"; + hashedPasswordFile = config.age.secrets.password.path; # TODO: commented out pacckages are currently not available on ARM, and thus not on the # moissanite machine. filter them out in a better way. |
