diff options
-rw-r--r-- | nixos/configuration.nix | 4 | ||||
-rw-r--r-- | nixos/velhinho.nix | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 9f71ae0..a7a3006 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -181,6 +181,7 @@ in moreutils # =vipe= bazel graphviz # =dot= and others + mkpasswd diffoscope # poppler_utils # used by diffoscope for comparing PDF files @@ -431,7 +432,8 @@ in uid = 1000; description = "EuAndreh"; extraGroups = [ "wheel" "networkmanager" "docker" ]; - # FIXME: document how to create a password hash file + # Generated with: + # mkpasswd -m sha-512 > password-file.txt passwordFile = localConfiguration.passwordFile; }; }; diff --git a/nixos/velhinho.nix b/nixos/velhinho.nix index d2bf246..f2f270f 100644 --- a/nixos/velhinho.nix +++ b/nixos/velhinho.nix @@ -1,6 +1,5 @@ { hostName = "velhinho-nixos"; luksDevice = "/dev/sda3"; - # FIXME: change password passwordFile = "/home/andreh/dev/libre/dotfiles/encrypted/password-hash.txt"; } |