tangled
alpha
login
or
join now
oeiuwq.com
/
den
8
fork
atom
Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
den.oeiuwq.com
configurations
den
dendritic
nix
aspect
oriented
8
fork
atom
overview
issues
4
pulls
2
pipelines
noflakes update using maid class and user class
oeiuwq.com
3 weeks ago
9848c265
64d16090
1/1
mirror.yml
success
3s
+12
-14
1 changed file
expand all
collapse all
unified
split
templates
noflake
modules
den.nix
+12
-14
templates/noflake/modules/den.nix
···
9
9
boot.loader.grub.enable = false;
10
10
};
11
11
12
12
-
# tux user on igloo host.
13
13
-
den.hosts.x86_64-linux.igloo.users.tux = { };
12
12
+
# tux user on igloo host, using nix-maid
13
13
+
den.hosts.x86_64-linux.igloo.users.tux = {
14
14
+
classes = [ "maid" ];
15
15
+
};
14
16
15
17
# host aspect
16
18
den.aspects.igloo = {
···
25
27
26
28
# user aspect
27
29
den.aspects.tux = {
28
28
-
# user configures the host it lives in
29
29
-
nixos = {
30
30
-
# hipster-tux uses nix-maid instead of home-manager.
31
31
-
imports = [ inputs.nix-maid.nixosModules.default ];
30
30
+
# user configures host nixos.users.users.tux.isNormalUser.
31
31
+
# Read docs about the `user` class.
32
32
+
user.isNormalUser = true;
32
33
33
33
-
users.users.tux = {
34
34
-
isNormalUser = true;
35
35
-
maid.file.home.".gitconfig".text = ''
36
36
-
[user]
37
37
-
name=Tux
38
38
-
'';
39
39
-
};
40
40
-
};
34
34
+
# maid class
35
35
+
maid.file.home.".gitconfig".text = ''
36
36
+
[user]
37
37
+
name=Tux
38
38
+
'';
41
39
};
42
40
}