blob: b3d6ba29d11fc0a926f6fe26ea97438cdad5d930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ config, lib, pkgs, ... }:
{
options.krebs.users = lib.mkOption {
type = with pkgs.stockholm.lib.types; attrsOf 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;
};
};
};
}
|