From 7bb85d74f8dbf8751344f9248b9365b4543bf20f Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 7 Aug 2015 13:51:49 +0200 Subject: makefu/2configs:add hashedPasswords --- makefu/2configs/base.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/makefu/2configs/base.nix b/makefu/2configs/base.nix index 792cccc71..2e18acf7c 100644 --- a/makefu/2configs/base.nix +++ b/makefu/2configs/base.nix @@ -2,7 +2,13 @@ with lib; { - imports = [ ]; + imports = [ + { + users.extraUsers = + mapAttrs (_: h: { hashedPassword = h; }) + (import /root/src/secrets/hashedPasswords.nix); + } + ]; krebs.enable = true; krebs.search-domain = "retiolum"; @@ -39,7 +45,7 @@ with lib; services.openssh.enable = true; nix.useChroot = true; - users.mutableUsers = true; + users.mutableUsers = false; boot.tmpOnTmpfs = true; systemd.tmpfiles.rules = [ -- cgit v1.2.3