diff options
| author | EuAndreh <eu@euandre.org> | 2019-05-02 20:24:59 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-05-02 20:24:59 -0300 |
| commit | 71a8ff0cca52fedfbd1d312a1911ca1495c0704f (patch) | |
| tree | 06841e2d969d999bb442fac1e65f83affe0be597 | |
| parent | Disable PostgreSQL service. (diff) | |
| download | dotfiles-71a8ff0cca52fedfbd1d312a1911ca1495c0704f.tar.gz dotfiles-71a8ff0cca52fedfbd1d312a1911ca1495c0704f.tar.xz | |
Move passwordFile to local-configuration.nix.
| -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"; } |
