-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobalArgs.nix
More file actions
31 lines (28 loc) · 771 Bytes
/
Copy pathglobalArgs.nix
File metadata and controls
31 lines (28 loc) · 771 Bytes
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
rec {
stateVersion = "26.05";
homeStateVersion = stateVersion;
baseUsers = [
rec {
name = "dobiko";
gitUsername = "jnccd";
email = "kobidogao@outlook.com";
isAdmin = true;
isSystem = false;
dbAccess = true;
defaultUid = 1000;
defaultGid = defaultUid;
}
rec {
name = "runner";
isAdmin = false;
isSystem = true;
dbAccess = true;
defaultUid = 900;
defaultGid = defaultUid;
}
];
mainUser = builtins.head (builtins.filter (x: x.isAdmin) baseUsers);
defaultSystemUser = builtins.head (builtins.filter (x: x.isSystem) baseUsers);
nixosConfigPath = "/home/${mainUser.name}/git/nixos-config";
sopsKeyFile = "/home/${mainUser.name}/.config/sops/age/keys.txt";
}