diff options
-rw-r--r-- | nixos/configuration.nix | 3 | ||||
-rw-r--r-- | nixos/velhinho.nix | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8b50140..9f71ae0 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -431,7 +431,8 @@ in uid = 1000; description = "EuAndreh"; extraGroups = [ "wheel" "networkmanager" "docker" ]; - passwordFile = "/home/andreh/dev/libre/dotfiles/encrypted/password-hash.txt"; + # FIXME: document how to create a password hash file + passwordFile = localConfiguration.passwordFile; }; }; # From the Guix manual: diff --git a/nixos/velhinho.nix b/nixos/velhinho.nix index d06ed5f..d2bf246 100644 --- a/nixos/velhinho.nix +++ b/nixos/velhinho.nix @@ -1,4 +1,6 @@ { hostName = "velhinho-nixos"; luksDevice = "/dev/sda3"; + # FIXME: change password + passwordFile = "/home/andreh/dev/libre/dotfiles/encrypted/password-hash.txt"; } |