blob: a1a4a15050fe0f4d94fa136245e6e7265855dd0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ config, lib, pkgs, ... }:
{
users = {
defaultUserShell = pkgs.fish;
extraUsers = {
orbekk = {
isNormalUser = true;
home = "/home/orbekk";
uid = 1000;
description = "KJ";
extraGroups = ["wheel" "networkmanager" "dialout" "uucp" "audio" "plugdev"];
openssh.authorizedKeys.keyFiles = [
../data/pincer_rsa.pub
../data/yubikey_rsa.pub
];
};
fcgi = { name = "fcgi"; group = "fcgi"; uid = 500; };
systemhttpd = {
name = "systemhttpd";
group = "systemhttpd";
createHome = true;
uid = 502;
home = "/var/lib/systemhttpd";
};
linoquotes = {
name = "linoquotes";
group = "linoquotes";
createHome = true;
uid = 503;
home = "/var/lib/linoquotes";
};
};
extraGroups = {
fcgi = { name = "fcgi"; gid = 500; };
plugdev = { name = "plugdev"; gid = 501; };
systemhttpd = { name = "systemhttpd"; gid = 502; };
linoquotes = { name = "linoquotes"; gid = 503; };
};
};
}
|