makefu/2configs:add hashedPasswords

This commit is contained in:
makefu 2015-08-07 13:51:49 +02:00
parent fad2a76def
commit 7bb85d74f8

View File

@ -2,7 +2,13 @@
with lib; with lib;
{ {
imports = [ ]; imports = [
{
users.extraUsers =
mapAttrs (_: h: { hashedPassword = h; })
(import /root/src/secrets/hashedPasswords.nix);
}
];
krebs.enable = true; krebs.enable = true;
krebs.search-domain = "retiolum"; krebs.search-domain = "retiolum";
@ -39,7 +45,7 @@ with lib;
services.openssh.enable = true; services.openssh.enable = true;
nix.useChroot = true; nix.useChroot = true;
users.mutableUsers = true; users.mutableUsers = false;
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [