Merge remote-tracking branch 'lass/master'

This commit is contained in:
makefu 2022-01-06 13:18:48 +01:00
commit fe0e878c1f
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
5 changed files with 15 additions and 7 deletions

View File

@ -65,8 +65,9 @@ in {
config.environment.etc."exim.conf".source
];
serviceConfig = {
ExecStart = "${pkgs.exim}/bin/exim -bdf -q30m";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
ExecStart = "+${pkgs.exim}/bin/exim -bdf -q30m";
ExecReload = "+${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = cfg.user.name;
};
wantedBy = [ "multi-user.target" ];
};

View File

@ -320,7 +320,7 @@ in {
aliases = [
"zaatar.r"
"zaatar.kmein.r"
"radio.kmein.r"
"grocy.kmein.r"
"bvg.kmein.r"
"moodle.kmein.r"
];
@ -662,6 +662,7 @@ in {
vDZ+BoHCjq9FfQrAu1+E83yCYyu+3fWrLSgYyrqjg0gPcCcnb1g6hqECAwEAAQ==
-----END RSA PUBLIC KEY-----
'';
tinc.pubkey_ed25519 = "PiqJGofbo6941m20NJM3yhUoWKTNyLCtTPzsKcrvFSL";
};
};
};
@ -686,6 +687,7 @@ in {
/n/eHElmKWoMCXhkV/mee1Cl2Y74XKivM6ov3lLvIDRxdXl46PvBFVkCAwEAAQ==
-----END RSA PUBLIC KEY-----
'';
tinc.pubkey_ed25519 = "P9yurwK2l1npimgm3yk8WXigWLfEtJ6G1w/3kVCPG7F";
};
};
};

View File

@ -75,7 +75,12 @@ let
}
) cfg;
users.groups = mapAttrs (_: _: {}) cfg;
users.groups = mapAttrs' (name: htgen:
nameValuePair htgen.user.name {
name = htgen.user.name;
gid = htgen.user.uid;
}
) cfg;
};
in out

View File

@ -52,6 +52,7 @@ let
type = typeOf x;
reject = throw "cannot convert ${type}";
in {
int = toJSON x; # close enough
list = "{ ${concatStringsSep ", " (map toC x)} }";
null = "NULL";
set = if isDerivation x then toJSON x else reject;

View File

@ -73,9 +73,8 @@ with import <stockholm/lib>;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.lightdm.autoLogin.enable = true;
services.xserver.displayManager.lightdm.autoLogin.user = "itak";
services.xserver.displayManager.lightdm.enable = true;
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "itak";
users.users.itak = {
inherit (config.krebs.users.itak) home uid;