blob: 614e6ab4298e5e722663bbbbb31e8f79b5a5a80c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ config, lib, pkgs, ... }: let
slib = import ../../lib/pure.nix { inherit lib; };
in {
options.krebs.users = lib.mkOption {
type = lib.types.attrsOf slib.types.user;
};
config = lib.mkIf config.krebs.enable {
krebs.users = {
krebs = {
home = "/krebs";
mail = "spam@krebsco.de";
};
root = {
home = "/root";
pubkey = config.krebs.build.host.ssh.pubkey;
uid = 0;
};
};
};
}
|