From 3281dd983e1e731513410eaaef430ccca348f2e7 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 2 May 2019 20:47:29 -0300 Subject: Add note on generating password hash file. --- nixos/configuration.nix | 4 +++- nixos/velhinho.nix | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'nixos') 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"; } -- cgit v1.2.3