diff options
author | EuAndreh <eu@euandre.org> | 2019-05-02 20:47:29 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-05-02 20:47:29 -0300 |
commit | 3281dd983e1e731513410eaaef430ccca348f2e7 (patch) | |
tree | 612ebf08da7183d3faadaf5747cc4e8a714c9377 | |
parent | Put songbooks bash configuration in the correct files. (diff) | |
download | dotfiles-3281dd983e1e731513410eaaef430ccca348f2e7.tar.gz dotfiles-3281dd983e1e731513410eaaef430ccca348f2e7.tar.xz |
Add note on generating password hash file.
-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"; } |