From 71a8ff0cca52fedfbd1d312a1911ca1495c0704f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 2 May 2019 20:24:59 -0300 Subject: Move passwordFile to local-configuration.nix. --- nixos/configuration.nix | 3 ++- nixos/velhinho.nix | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'nixos') 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"; } -- cgit v1.2.3