alpha
Login
or
Join now
seanaye.bsky.social
/
nixos-config
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
me like nix
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
update some stuff
author
Sean Aye
date
3 months ago
(Mar 22, 2026, 8:03 PM -0400)
commit
0d5d2f04
0d5d2f0429b7e8b0b7f39752b0d820bca0207ae1
parent
43002b21
43002b2172ed721acef022b76e9ac852841c3ea1
change-id
uxrklqxq
uxrklqxqxuvsoskrtrtppyorylqlswwk
+60
-28
3 changed files
Expand all
Collapse all
Unified
Split
hosts
common
common.nix
home.nix
quickshell
modules
rightpanel
RightPanel.qml
+8
-1
hosts/common/common.nix
Reviewed
···
1
1
-
{ pkgs, ... }:
1
1
+
{ pkgs, lib, ... }:
2
2
3
3
let
4
4
berkeley-mono-typeface = pkgs.callPackage ../../berkely-mono/berkeley.nix { };
···
29
29
services.fwupd.enable = true;
30
30
# Use latest kernel.
31
31
boot.kernelPackages = pkgs.linuxPackages_latest;
32
32
+
boot.kernel.sysctl."kernel.task_delayacct" = 1;
32
33
33
34
# Fix USB disconnection issues with Dell U4025QW Thunderbolt dock
34
35
# Disables autosuspend and LPM for Dell hub (vendor ID: 1d5c, product ID: 5801)
···
86
87
87
88
programs.regreet = {
88
89
enable = true;
90
90
+
cageArgs = [ "-s" "-d" ];
91
91
+
settings.GTK.application_prefer_dark_theme = true;
89
92
theme = {
90
93
package = pkgs.catppuccin-gtk.override {
91
94
variant = "frappe";
···
106
109
name = "catppuccin-frappe-dark-cursors";
107
110
};
108
111
};
112
112
+
113
113
+
# Scale regreet's greeter for HiDPI displays
114
114
+
services.greetd.settings.default_session.command = lib.mkForce
115
115
+
"${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} -s -d -- env GDK_SCALE=2 ${lib.getExe pkgs.greetd.regreet}";
109
116
110
117
# Enable CUPS to print documents.
111
118
services.printing.enable = true;
+6
-3
hosts/common/home.nix
Reviewed
···
126
126
"Mod+d".action.spawn = [
127
127
"alacritty"
128
128
"-e"
129
129
-
"fsel"
130
130
-
"--detach"
129
129
+
"sh"
130
130
+
"-c"
131
131
+
"while fsel --detach; do :; done"
131
132
];
132
133
"Mod+c".action.spawn = [
133
134
"alacritty"
···
582
583
# Program configurations
583
584
programs.mpv = {
584
585
enable = true;
585
585
-
scripts = [ pkgs.mpvScripts.mpris pkgs.mpvScripts.sponsorblock ];
586
586
+
scripts = [ pkgs.mpvScripts.mpris ];
587
587
+
config.af = "loudnorm=I=-16:TP=-1.5:LRA=11";
586
588
};
587
589
xdg.configFile."youtube-tui" = {
588
590
source = ./youtube-tui;
589
591
recursive = true;
592
592
+
force = true;
590
593
};
591
594
programs.git = {
592
595
enable = true;
+46
-24
hosts/common/quickshell/modules/rightpanel/RightPanel.qml
Reviewed
···
257
257
}
258
258
}
259
259
260
260
+
}
261
261
+
262
262
+
Rectangle { Layout.fillWidth: true; height: 1; color: Config.Colours.surface1 }
263
263
+
264
264
+
// Power Profile
265
265
+
RowLayout {
266
266
+
Layout.fillWidth: true
267
267
+
spacing: 8
268
268
+
269
269
+
Text {
270
270
+
color: {
271
271
+
if (Services.PowerProfile.profile === "performance") return Config.Colours.peach
272
272
+
if (Services.PowerProfile.profile === "power-saver") return Config.Colours.green
273
273
+
return Config.Colours.blue
274
274
+
}
275
275
+
font.family: Config.Appearance.font.family
276
276
+
font.pixelSize: 16
277
277
+
text: {
278
278
+
if (Services.PowerProfile.profile === "performance") return "\uf0e7"
279
279
+
if (Services.PowerProfile.profile === "power-saver") return "\uf06c"
280
280
+
return "\uf24e"
281
281
+
}
282
282
+
}
283
283
+
284
284
+
ColumnLayout {
285
285
+
spacing: 2
286
286
+
Text {
287
287
+
color: Config.Colours.text
288
288
+
font.family: Config.Appearance.font.family
289
289
+
font.pixelSize: Config.Appearance.font.size.normal
290
290
+
text: {
291
291
+
if (Services.PowerProfile.profile === "performance") return "Performance"
292
292
+
if (Services.PowerProfile.profile === "power-saver") return "Power Saver"
293
293
+
return "Balanced"
294
294
+
}
295
295
+
}
296
296
+
Text {
297
297
+
color: Config.Colours.subtext0
298
298
+
font.family: Config.Appearance.font.family
299
299
+
font.pixelSize: Config.Appearance.font.size.small
300
300
+
text: "Power Profile"
301
301
+
}
302
302
+
}
303
303
+
260
304
Item { Layout.fillWidth: true }
261
305
262
262
-
// Power profile cycle
263
306
Rectangle {
264
307
width: 32; height: 32
265
308
radius: Config.Appearance.rounding.full
···
268
311
269
312
Text {
270
313
anchors.centerIn: parent
271
271
-
color: {
272
272
-
if (Services.PowerProfile.profile === "performance") return Config.Colours.peach
273
273
-
if (Services.PowerProfile.profile === "power-saver") return Config.Colours.green
274
274
-
return Config.Colours.blue
275
275
-
}
314
314
+
color: Config.Colours.subtext0
276
315
font.family: Config.Appearance.font.family
277
316
font.pixelSize: 14
278
278
-
text: {
279
279
-
if (Services.PowerProfile.profile === "performance") return "\uf0e7"
280
280
-
if (Services.PowerProfile.profile === "power-saver") return "\uf06c"
281
281
-
return "\uf24e"
282
282
-
}
317
317
+
text: "\uf2f1"
283
318
}
284
319
285
320
MouseArea {
···
289
324
cursorShape: Qt.PointingHandCursor
290
325
onClicked: Services.PowerProfile.cycleProfile()
291
326
}
292
292
-
}
293
293
-
}
294
294
-
295
295
-
// Power profile label
296
296
-
Text {
297
297
-
Layout.alignment: Qt.AlignRight
298
298
-
color: Config.Colours.overlay0
299
299
-
font.family: Config.Appearance.font.family
300
300
-
font.pixelSize: 10
301
301
-
text: {
302
302
-
if (Services.PowerProfile.profile === "performance") return "Performance"
303
303
-
if (Services.PowerProfile.profile === "power-saver") return "Power Saver"
304
304
-
return "Balanced"
305
327
}
306
328
}
307
329
}