summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/base.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-08-07 13:51:49 +0200
committermakefu <github@syntax-fehler.de>2015-08-07 13:51:49 +0200
commit7bb85d74f8dbf8751344f9248b9365b4543bf20f (patch)
tree53f872a545e313c39a24bd1c73a0af6e0683944e /makefu/2configs/base.nix
parentfad2a76defb18108a271633392344dbb49bb769b (diff)
makefu/2configs:add hashedPasswords
Diffstat (limited to 'makefu/2configs/base.nix')
-rw-r--r--makefu/2configs/base.nix10
1 files 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 = [