+12
-2
bathtub/home-overrides.nix
+12
-2
bathtub/home-overrides.nix
···
3
3
...
4
4
}:
5
5
{
6
-
programs.waybar.settings = {
7
-
bar.modules-center = lib.mkForce [ ];
6
+
programs.waybar = {
7
+
settings = {
8
+
bar.modules-center = lib.mkForce [ ];
9
+
bar.modules-right = lib.mkForce [
10
+
"backlight"
11
+
"battery"
12
+
"wireplumber"
13
+
"tray"
14
+
"clock"
15
+
];
16
+
};
17
+
style = lib.mkForce (builtins.readFile ../files/waybar/style-bathtub.css);
8
18
};
9
19
}
+69
files/waybar/style-bathtub.css
+69
files/waybar/style-bathtub.css
···
1
+
window#waybar {
2
+
font-family: "undefined medium", "Victor Mono Nerd Font", "Noto Sans CJK JP", "Noto Sans CJK ZH";
3
+
background-color: rgba(0, 0, 0, 0);
4
+
}
5
+
6
+
tooltip {
7
+
font-family: "undefined medium", "Victor Mono Nerd Font";
8
+
background: #2e2629;
9
+
border: 2px solid #b15c66;
10
+
border-radius: 0;
11
+
}
12
+
13
+
.modules-left,
14
+
.modules-right {
15
+
margin: 0.4em 0.4em 0em 0.4em;
16
+
padding-left: 1em;
17
+
padding-right: 1em;
18
+
border-radius: 2em;
19
+
background: rgba(46, 38, 41, 0.7);
20
+
color: #e3dddf;
21
+
}
22
+
23
+
.modules-right {
24
+
background: rgba(0, 0, 0, 0);
25
+
padding-right: 0;
26
+
}
27
+
.modules-right > widget > * {
28
+
background: rgba(46, 38, 41, 0.7);
29
+
padding: 0.5em;
30
+
}
31
+
32
+
#backlight {
33
+
padding-left: 1em;
34
+
border-radius: 2em 0 0 2em;
35
+
}
36
+
#wireplumber {
37
+
padding-right: 1em;
38
+
border-radius: 0 2em 2em 0;
39
+
}
40
+
41
+
#battery.warning:not(.charging) {
42
+
color: #b1888d;
43
+
}
44
+
#battery.critical:not(.charging) {
45
+
color: #b15c66;
46
+
}
47
+
48
+
#workspaces button {
49
+
color: #e3dddf;
50
+
border-radius: 0;
51
+
}
52
+
#workspaces button:hover {
53
+
border-radius: 0;
54
+
}
55
+
#workspaces button.active {
56
+
border-bottom: 2px solid;
57
+
}
58
+
59
+
#tray {
60
+
border-radius: 2em;
61
+
padding: 0 1em;
62
+
margin-left: 0.4em;
63
+
}
64
+
65
+
#clock {
66
+
border-radius: 2em;
67
+
padding: 0 1em;
68
+
margin-left: 0.4em;
69
+
}
+32
-32
flake.lock
+32
-32
flake.lock
···
95
95
]
96
96
},
97
97
"locked": {
98
-
"lastModified": 1763759067,
99
-
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
98
+
"lastModified": 1765495779,
99
+
"narHash": "sha256-MhA7wmo/7uogLxiewwRRmIax70g6q1U/YemqTGoFHlM=",
100
100
"owner": "hercules-ci",
101
101
"repo": "flake-parts",
102
-
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
102
+
"rev": "5635c32d666a59ec9a55cab87e898889869f7b71",
103
103
"type": "github"
104
104
},
105
105
"original": {
···
155
155
]
156
156
},
157
157
"locked": {
158
-
"lastModified": 1765172714,
159
-
"narHash": "sha256-/cjofqGxSWpRj2XJM+Bd5VUgWDkBWSxxO//HE+zOHMY=",
158
+
"lastModified": 1765480374,
159
+
"narHash": "sha256-HlbvQAqLx7WqZFFQZ8nu5UUJAVlXiV/kqKbyueA8srw=",
160
160
"owner": "nix-community",
161
161
"repo": "home-manager",
162
-
"rev": "a7887340779d5e70ef68012f3823568ee59eaa30",
162
+
"rev": "39cb677ed9e908e90478aa9fe5f3383dfc1a63f3",
163
163
"type": "github"
164
164
},
165
165
"original": {
···
297
297
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
298
298
},
299
299
"locked": {
300
-
"lastModified": 1765120349,
301
-
"narHash": "sha256-MvwrHRV80hOdEwfLgI16XhApHuvj69aAgUWQ8ZBgAqE=",
300
+
"lastModified": 1765528203,
301
+
"narHash": "sha256-DTs3VkvRjW/Quu7y9hzNUrddysBXbcqv5Rpo4rtQYQI=",
302
302
"owner": "sodiboo",
303
303
"repo": "niri-flake",
304
-
"rev": "0f4acff79842637e92f5f2609d3844bac9d5e592",
304
+
"rev": "8f74fd85c7b42f2d06347a9c9eaff6d4904854f3",
305
305
"type": "github"
306
306
},
307
307
"original": {
···
330
330
"niri-unstable": {
331
331
"flake": false,
332
332
"locked": {
333
-
"lastModified": 1764966114,
334
-
"narHash": "sha256-nC0Fsu4zSdabdR4tHHMCrTgqLms612eEDy5VCdQVZFk=",
333
+
"lastModified": 1765524373,
334
+
"narHash": "sha256-gi38XWhkb+H8iHhlXgv7MgUaQCuhmaTzKmq3yzYOg9g=",
335
335
"owner": "YaLTeR",
336
336
"repo": "niri",
337
-
"rev": "ba29735fbbd8cf8319c71ccb55b54a0580007c80",
337
+
"rev": "c22d8358c293f5e66748d8ac20600e6b114f9743",
338
338
"type": "github"
339
339
},
340
340
"original": {
···
351
351
]
352
352
},
353
353
"locked": {
354
-
"lastModified": 1764852467,
355
-
"narHash": "sha256-t20jUJE2S6aqh5YjUgjgP+u/uRmOV6CTGtBLKsA0/fQ=",
354
+
"lastModified": 1765528634,
355
+
"narHash": "sha256-uIavvJkDwTZD1QY/oSkDtPN9xwkLwQayoZ5xOni4SBY=",
356
356
"owner": "nix-community",
357
357
"repo": "nixos-apple-silicon",
358
-
"rev": "0ec4039ef904591afd235146a9a30945b6c8c0e3",
358
+
"rev": "fc1440d6e6adb24d9b2650670744bae35654c867",
359
359
"type": "github"
360
360
},
361
361
"original": {
···
367
367
},
368
368
"nixpkgs": {
369
369
"locked": {
370
-
"lastModified": 1765183668,
371
-
"narHash": "sha256-TBA7CE44IHYfvOPBWcyLncpVrrKEiXWPdOrF8CD6W84=",
372
-
"owner": "nixos",
370
+
"lastModified": 1765536405,
371
+
"narHash": "sha256-HTHfcqG8WsrJG0aW3edXF5nQJK3VjPWcUTEi/r0LV7o=",
372
+
"owner": "NixOS",
373
373
"repo": "nixpkgs",
374
-
"rev": "fc2de1563f89f0843eba27f14576d261df0e3b80",
374
+
"rev": "27225de9f2030213246e0d8d62957c43d5229368",
375
375
"type": "github"
376
376
},
377
377
"original": {
378
-
"owner": "nixos",
378
+
"owner": "NixOS",
379
379
"ref": "nixos-unstable-small",
380
380
"repo": "nixpkgs",
381
381
"type": "github"
···
383
383
},
384
384
"nixpkgs-stable": {
385
385
"locked": {
386
-
"lastModified": 1764983851,
387
-
"narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=",
386
+
"lastModified": 1765311797,
387
+
"narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=",
388
388
"owner": "NixOS",
389
389
"repo": "nixpkgs",
390
-
"rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454",
390
+
"rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b",
391
391
"type": "github"
392
392
},
393
393
"original": {
···
422
422
"systems": "systems"
423
423
},
424
424
"locked": {
425
-
"lastModified": 1765150443,
426
-
"narHash": "sha256-GD6nEEVPdbMSo+8BKfZ0nK8n+Zzs95tipPLCSB0IXQA=",
425
+
"lastModified": 1765549401,
426
+
"narHash": "sha256-/7jUlBsI2DCm9LOF4upS7+kMYM4K78dPpHO5pCKYV6k=",
427
427
"owner": "nix-community",
428
428
"repo": "nixvim",
429
-
"rev": "451b1806a6da6b69f01c7fc98d751bcad8fdbf28",
429
+
"rev": "a80557e1425ad9438dde7652b12fd5a449df6f00",
430
430
"type": "github"
431
431
},
432
432
"original": {
···
456
456
]
457
457
},
458
458
"locked": {
459
-
"lastModified": 1765079830,
460
-
"narHash": "sha256-i9GMbBLkeZ7MVvy7+aAuErXkBkdRylHofrAjtpUPKt8=",
459
+
"lastModified": 1765553226,
460
+
"narHash": "sha256-Ii16Nq5jL2wURXpV3D3tOM3vPpbKh18roHLkyZCHK4Q=",
461
461
"owner": "Mic92",
462
462
"repo": "sops-nix",
463
-
"rev": "aeb517262102f13683d7a191c7e496b34df8d24c",
463
+
"rev": "496a6f625f63b780ce849891868f2fad22fd49c6",
464
464
"type": "github"
465
465
},
466
466
"original": {
···
561
561
"xwayland-satellite-unstable": {
562
562
"flake": false,
563
563
"locked": {
564
-
"lastModified": 1764721075,
565
-
"narHash": "sha256-ChH4nq0cMEEkzkHqKlQt5Z7wxrk8ybcEHuA1YKAYmV0=",
564
+
"lastModified": 1765343581,
565
+
"narHash": "sha256-HtTPbV6z6AJPg2d0bHaJKFrnNha+SEbHvbJafKAQ614=",
566
566
"owner": "Supreeeme",
567
567
"repo": "xwayland-satellite",
568
-
"rev": "1b918e29b419e89910014054e8b71d54c9235ea5",
568
+
"rev": "f0ad674b7009a6afd80cea59d4fbf975dd68ee95",
569
569
"type": "github"
570
570
},
571
571
"original": {
+5
-1
flake.nix
+5
-1
flake.nix
···
22
22
url = "github:nix-community/nixos-apple-silicon/main";
23
23
inputs.nixpkgs.follows = "nixpkgs";
24
24
};
25
-
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
25
+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
26
26
nixvim = {
27
27
url = "github:nix-community/nixvim";
28
28
inputs.nixpkgs.follows = "nixpkgs";
···
51
51
inputs.nixos-apple-silicon.nixosModules.apple-silicon-support
52
52
inputs.niri.nixosModules.niri
53
53
];
54
+
system = "aarch64-linux";
54
55
};
55
56
forest = {
56
57
extraModules = [
57
58
inputs.tangled.nixosModules.knot
58
59
];
60
+
system = "x86_64-linux";
59
61
};
60
62
tundra = {
61
63
extraModules = [
62
64
inputs.niri.nixosModules.niri
63
65
inputs.finge.nixosModules."06cb-009a-fingerprint-sensor"
64
66
];
67
+
system = "x86_64-linux";
65
68
};
66
69
};
67
70
in
···
84
87
nixosConfigurations = nixpkgs.lib.mapAttrs (
85
88
hostname: config:
86
89
nixpkgs.lib.nixosSystem {
90
+
system = config.system;
87
91
specialArgs = { inherit inputs; };
88
92
modules = [
89
93
./${hostname}
+11
-3
modules/desktop/desktop.nix
+11
-3
modules/desktop/desktop.nix
···
10
10
portal = {
11
11
enable = true;
12
12
extraPortals = with pkgs; [
13
+
xdg-desktop-portal-gnome
13
14
xdg-desktop-portal-gtk
14
-
xdg-desktop-portal-wlr
15
-
xdg-desktop-portal-shana
15
+
gnome-keyring
16
16
];
17
17
config = {
18
18
common = {
19
19
default = [
20
-
"shana"
20
+
"gtk"
21
+
];
22
+
};
23
+
niri = {
24
+
default = [
25
+
"gnome"
26
+
"gtk"
27
+
];
28
+
"org.freedesktop.impl.portal.FileChooser" = [
21
29
"gtk"
22
30
];
23
31
};
+1
-1
modules/desktop/fcitx.nix
+1
-1
modules/desktop/fcitx.nix
+1
-1
modules/desktop/niri.nix
+1
-1
modules/desktop/niri.nix
···
7
7
{ command = [ "firefox" ]; }
8
8
{ command = [ "signal-desktop" ]; }
9
9
{ command = [ "nm-applet" ]; }
10
-
{ command = [ "swww-daemon" ]; }
11
10
{
12
11
command = [
13
12
"eww"
···
37
36
dwt = true;
38
37
tap = false;
39
38
natural-scroll = false;
39
+
disabled-on-external-mouse = true;
40
40
};
41
41
42
42
mouse = {
+1
-1
modules/desktop/sway.nix
+1
-1
modules/desktop/sway.nix