tangled
alpha
login
or
join now
vt3e.cat
/
petals
1
fork
atom
my nix flake.
1
fork
atom
overview
issues
pulls
pipelines
fix(user/home): add conditions to lib.mkIf
vt3e.cat
9 months ago
5045b3c7
896eb1f4
verified
This commit was signed with the committer's
known signature
.
vt3e.cat
SSH Key Fingerprint:
SHA256:bC12nO0d6wKnJ426YBbLO7LVxmZlwJ1l2X0eqOroDV0=
+4
-4
1 changed file
expand all
collapse all
unified
split
user
home.nix
+4
-4
user/home.nix
···
31
31
username = "willow";
32
32
homeDirectory = "/home/willow";
33
33
stateVersion = "25.11";
34
34
-
pointerCursor = lib.mkIf {
34
34
+
pointerCursor = lib.mkIf isDesktop {
35
35
name = "Adwaita";
36
36
package = pkgs.adwaita-icon-theme;
37
37
size = 24;
···
40
40
defaultCursor = "Adwaita";
41
41
};
42
42
};
43
43
-
sessionVariables = lib.mkIf {
43
43
+
sessionVariables = lib.mkIf isDesktop {
44
44
XDG_DESKTOP_PORTAL = "wlr";
45
45
};
46
46
···
50
50
51
51
};
52
52
53
53
-
dconf.settings = lib.mkIf {
53
53
+
dconf.settings = lib.mkIf isDesktop {
54
54
"org/gnome/desktop/interface" = {
55
55
color-scheme = "prefer-dark";
56
56
};
57
57
};
58
58
59
59
-
gtk = lib.mkIf {
59
59
+
gtk = lib.mkIf isDesktop {
60
60
enable = true;
61
61
theme = {
62
62
name = "Adwaita-dark";