blob: dcf06e846d6b82e688b73244a0e773a920745131 (
plain) (
blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{
cfg,
lib,
pkgs,
list,
...
}: {
users.mutableUsers = false;
users.defaultUserShell = pkgs.zsh;
# Persisting user passwords
fileSystems."/srv".neededForBoot = true;
users.users = {
root = {
passwordFile = "/srv/users/root/password";
#uid = 0;
#hashedPassword = null; # to lock root
};
sils = {
name = "sils";
isNormalUser = true;
home = "/srv/users/sils/home";
passwordFile = "/srv/users/sils/password";
uid = 1000;
extraGroups = [
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG63gxw8JePmrC8Fni0pLV4TnPBhCPmSV9FYEdva+6s7 sils"
];
};
soispha = {
name = "soispha";
isNormalUser = true;
home = "/srv/users/soispha/home";
passwordFile = "/srv/users/soispha/password";
uid = 1001;
extraGroups = [
"wheel"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME soispha"
];
};
nightingale = {
name = "nightingale";
isNormalUser = true;
home = "/srv/users/nightingale/home";
passwordFile = "/srv/users/nightingale/password";
uid = 1002;
extraGroups = [
"wheel"
];
openssh.authorizedKeys.keys = [
];
};
};
}
# vim: ts=2
|