Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
e8b3d73a6d Update packages 2026-11-19 11:56:09 +01:00
18746a8d49 Update packages 2026-11-16 14:27:00 +01:00
adc80cceb5 Use dark GTK colour scheme 2026-11-16 14:26:47 +01:00
1fd273ceba Update packages 2026-11-12 14:15:06 +01:00
8c521fe6d2 Add Obsidian & Signal to 75% width windows 2026-11-10 12:08:07 +01:00
0051334da6 Add Obsidian dir to machine state, add todo for Spotify dir 2026-11-10 11:30:06 +01:00
67b95550ed Increase notification timeout to 5 seconds 2026-11-09 12:11:38 +01:00
b1f992ecdf Update packages 2026-11-09 12:11:21 +01:00
8e40d33bb2 Update packages 2026-11-06 15:26:51 +01:00
48b134d080 Style Mako notifications 2026-11-06 15:21:09 +01:00
9eb863d6f6 Yet another office Dell monitor 2026-11-04 10:49:00 +01:00
4c47b8d6dc Add Obsidian to graphical packages 2026-11-03 11:39:45 +01:00
0b6b760de4 Update dependencies 2026-11-03 11:39:33 +01:00
3fe2979ca0 Add yt-dlp alias to include subtitles by default 2026-11-02 21:06:55 +01:00
56b42a2237 Persist ~/.android as machine state 2026-11-02 00:23:46 +01:00
ac4bfc4af2 Add ouch as archive handling tool to CLI packages 2026-11-02 00:10:50 +01:00
6c97f70755 Add android-tools to CLI packages 2026-11-01 22:44:25 +01:00
f0503246dc Update nixpkgs and nixpkgs-unstable 2026-11-01 22:44:03 +01:00
2b47a8ecf8 Make Signal window 50% width 2026-10-29 14:30:48 +01:00
4e39b5395b Move NixOS infrastructure into subdirectory 2026-10-28 14:04:20 +01:00
2d6db9f952 Disable automatic screen lock 2026-10-28 14:00:52 +01:00
9e07e613f7 Update flake dependencies 2026-10-28 14:00:41 +01:00
2ad421eb06 Re-enable Claude Code auto mode, disable surveys 2026-10-27 17:28:23 +01:00
95268f74d1 Add yet another office Dell monitor to Niri config 2026-10-27 17:27:37 +01:00
7e564e1c40 Add hosts entry for Vivian's travel router 2026-10-26 13:52:22 +01:00
273fb36b64 Add Celluloid & yt-dlp to graphical system packages 2026-10-24 12:39:52 +02:00
9726e67433 Update impermanence, nix-index-database, nixpkgs, nixpkgs-unstable 2026-10-22 14:16:22 +02:00
a0861b4c30 Formatting 2026-10-21 18:47:42 +02:00
2f9fac2621 Use pwvucontrol from unstable pkgs, organise graphical system pkgs 2026-10-13 15:34:21 +02:00
09b4296d50 Add office monitor config 2026-10-13 13:24:47 +02:00
6e5d4e162e Add Pipewire Volume Control as graphical system package 2026-10-12 23:05:56 +02:00
7e2dcafcac Add generations cleanup commmand as shell alias 2026-10-12 23:05:27 +02:00
d5daeb5c99 Use Zen kernel on Ruysch 2026-10-12 22:17:22 +02:00
d1f41672ba Update nixpkgs, nixpkgs-unstable, nix-index-database 2026-10-12 21:39:43 +02:00
2076d241d3 Update nixpkgs, nixpkgs-unstable, nix-index-database 2026-10-09 11:25:35 +02:00
4d32043c5e Un-float RustRover Git windows 2026-10-09 11:20:48 +02:00
bca5b83a0a Add a TandemDrive office monitor 2026-10-06 11:01:08 +02:00
78f2b9b58f Set up TV in room Social Hub in Niri 2026-10-05 10:10:56 +02:00
3e17441190 Enable Logitech Unifying support on Ruysch 2026-10-05 10:10:31 +02:00
7777f94d97 Use default AirVPN for keyboard binding, remove TODO 2026-10-05 10:09:57 +02:00
7518a41c08 Update nixpkgs, nixpkgs-unstable 2026-10-01 12:01:21 +02:00
a083d20f04 Properly set up Thunderbird 2026-09-30 21:52:57 +02:00
12ae24a9c1 Don't add extra shadows to RustRover floating windows 2026-09-30 15:54:08 +02:00
ce4264db19 Enable 120 Hz for certain Dell monitor at TandemDrive office 2026-09-30 14:56:54 +02:00
c193a3631f Prevent nm-applet from autostarting 2026-09-30 14:49:20 +02:00
fbd99b4aba Update nixpkgs 2026-09-30 12:19:17 +02:00
94b2b62537 Enable NetworkManager Connection Editor 2026-09-29 23:29:14 +02:00
9abf00bdad Enable Soteria as graphical Polkit agent 2026-09-29 23:28:51 +02:00
614b0b5fcd Resolve Polkit todo, formatting 2026-09-29 23:28:19 +02:00
19ef5c31e5 Fix shadows for non-rectangular floating windows 2026-09-29 18:04:31 +02:00
6290429680 Set Claude Code Opus 5.5 effort to high 2026-09-29 13:18:26 +02:00
d657976d4d Use Font Awesome for Ironbar instead 2026-09-29 12:16:30 +02:00
5b0c5ac23a Update nixpkgs, nixpkgs-unstable, nix-index-database 2026-09-29 12:12:50 +02:00
a05e7c5fcf Switch to standard NixOS I2C module, give user account access 2026-09-29 12:11:23 +02:00
447fcad211 Add Font Awesome for broken sites 2026-09-29 12:00:09 +02:00
570383e2da Fix Wireshark config 2026-09-29 11:59:44 +02:00
7429b8f51c Move Loupe to general graphical config 2026-09-29 11:54:16 +02:00
82c502d9ea Add Wireshark 2026-09-29 11:45:55 +02:00
2f4037fe91 Formatting 2026-09-29 11:45:31 +02:00
a6859ea139 Add Gnome Calculator and always open it as a floating window 2026-09-24 13:03:06 +02:00
58d80c17da Add shadow to all floating windows 2026-09-24 12:13:42 +02:00
1b6fb3bcd5 Set scale for other variant of LG monitors at TandemDrive too 2026-09-24 12:12:54 +02:00
26f822f1dc Fix Nautilus hidden files config 2026-09-23 14:15:27 +02:00
d9db75cbd9 Remove dconf-editor as it's not useful for discovery on NixOS 2026-09-23 14:14:49 +02:00
41f7f97b2c Enable GVFS for trash support in Nautilus 2026-09-23 13:52:47 +02:00
2bdb9d4d87 Set Claude theme to auto 2026-09-23 13:44:07 +02:00
6112653d95 Generate Claude JSON config from Nix expression 2026-09-23 13:25:10 +02:00
8d807dc4ca Show hidden files in Nautilus 2026-09-23 13:14:44 +02:00
2202f22ad1 Actually use nwg-bar config 2026-09-23 13:14:13 +02:00
4f0d38cd5c Use adw-gtk3 as GTK3 theme 2026-09-23 13:13:55 +02:00
075dd8e011 Create Claude Code config with system config 2026-09-23 12:16:23 +02:00
d080dfabeb Use unstable Claude Code package 2026-09-23 12:14:46 +02:00
fbd6ddbf43 Use unstable overskride package 2026-09-23 12:12:34 +02:00
a6841e22b2 Use wayland-logout package in nwg-bar config 2026-09-23 12:11:52 +02:00
897652f86b Enable graphical boot with Plymouth 2026-09-23 12:10:52 +02:00
3082cf6d92 Update nixpkgs, nixpkgs-unstable 2026-09-22 18:22:51 +02:00
03cfdd5c1b Add Blanket to graphical system packages 2026-09-21 14:07:09 +02:00
22c730a421 Add ddcutil to graphical system packages 2026-09-21 11:44:17 +02:00
c1cea2fc99 Use evremap instead of evdevremapkeys
Cause it keeps crashing and evremap is written in Rust
2026-09-21 11:34:28 +02:00
86a997a08f Load i2c-dev on machines with graphics in order to use ddcutil 2026-09-21 11:14:42 +02:00
e7a4a5df1b Ignore Vim temporary backup files 2026-09-21 11:13:40 +02:00
3dacced325 Update nixpkgs, nixpkgs-unstable, nix-index-database 2026-09-21 11:08:51 +02:00
ebadcad1b2 Rename Logitech MX Vertical evdevremapkeys device 2026-09-21 11:08:23 +02:00
c9e1d9bb6b Add Mako for notifications 2026-09-18 17:57:51 +02:00
e09a301e11 Update nixpkgs 2026-09-17 17:39:02 +02:00
126f617be4 Vim: recognise Sublime configs as JSONC, allow trailing commas in JSONC 2026-09-17 12:17:36 +02:00
7ef9085efd Update nixpkgs & nixpkgs-unstable 2026-09-16 22:47:10 +02:00
9e0be3decd Un-float settings & add shadow to floating RustRover windows 2026-09-15 17:42:21 +02:00
c9863fe93d Extract binaries used in Niri & NWG Bar into variables 2026-09-15 15:40:21 +02:00
f65c2be5ea Update nixpkgs & nixpkgs-unstable 2026-09-15 14:22:53 +02:00
b5e31cf193 Add Python 3 to Ruysch system packages 2026-09-15 14:13:23 +02:00
e05bf512e8 Update nixpkgs, nixpkgs-unstable, nix-index-database 2026-09-14 11:31:11 +02:00
5a26c04d68 Map side buttons to middle click on Logitech MX Vertical 2026-09-14 11:25:27 +02:00
0ff8ec3488 Set GTK accent colour & Nautilus dir views in dconf 2026-09-10 17:31:48 +02:00
d27602e67b Add dconf-editor as dconf GUI 2026-09-10 17:30:45 +02:00
3a98c2efed Imply stable pkgs for systemPackages in ruysch-graphical by default 2026-09-10 17:30:08 +02:00
83d396e212 Update nixpkgs & nixpkgs-unstable 2026-09-10 10:25:04 +02:00
bcd5dd8708 Make Signal window 75% width 2026-09-10 10:22:21 +02:00
6c18caeb43 Fix Hyprlock wallpaper path & disable keyboard layout indicator for now 2026-09-09 10:32:45 +02:00
c02131de93 Really fix wallpaper path passed to swaybg 2026-09-08 23:17:09 +02:00
12 changed files with 674 additions and 436 deletions

View file

@ -1,132 +0,0 @@
{ pkgs, ... }:
{
hardware.bluetooth.enable = true;
environment.systemPackages = with pkgs; [
adwaita-icon-theme
overskride
spotify
sublime-merge
wl-clipboard
];
programs = {
firefox.enable = true;
gnome-terminal.enable = true;
niri.enable = true;
thunderbird.enable = true;
dconf = {
enable = true;
profiles.user.databases = [ {
settings = {
"ca/desrt/dconf-editor".show-warning = false;
"org/gnome/desktop/interface" = {
font-hinting = "none";
font-name = "Fira Sans Condensed 11";
monospace-font-name = "Fira Mono 10";
};
"org/gnome/desktop/wm/preferences".button-layout = "";
"org/gnome/terminal/legacy".default-show-menubar = false;
};
} ];
};
};
fonts = {
packages = with pkgs; [
fira
noto-fonts
# google-fonts
];
fontconfig = {
defaultFonts = {
sansSerif = [ "Fira Sans Condensed" ];
monospace = [ "Fira Mono" ];
};
hinting.enable = false;
};
};
systemd.user.tmpfiles.rules = [
"d /home/rei/.config/niri 0755 rei users"
"L /home/rei/.config/niri/config.kdl - - - - /etc/niri/config.kdl"
];
environment = {
persistence = {
"/mnt/persistent-data".users.rei.directories = [
"backups"
"downloads"
"projects"
"screenshots"
".config/mozilla/firefox"
".config/spotify"
".thunderbird"
];
"/mnt/machine-state".directories = [
"/var/lib/bluetooth"
];
};
etc."xdg/hypr/hyprlock.conf".text = ''
background {
path = /etc/nixos/assets/wallpaper-macos-swirlies
blur_passes = 4
blur_size = 4
contrast = 1.0
brightness = 1.0
vibrancy = 0.0
}
animations {
animation = fade, 0
}
# Clock.
label {
halign = center
valign = center
position = 0, 140
# TODO: Get the letter spacing identical to the explicit font name version.
# text = <span font="sans-serif 220" color="white" weight="400">$TIME</span>
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
text_align = center
}
# Password textbox.
input-field {
halign = center
valign = center
position = 0, -180
size = 450, 75
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
inner_color = rgb(FFFFFF)
font_color = rgb(000000)
check_color = rgb(FF9800)
outline_thickness = 0
rounding = 10
fade_on_empty = false
# TODO: Doesn't exist anymore, what did this use to achieve?
# fail_timeout = 500
}
# Keyboard layout indicator.
# TODO: Why does this not work anymore?
label {
halign = center
valign = center
position = 0, -600
text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span>
}
'';
};
}

View file

@ -1 +1,3 @@
/secrets /secrets
.*.swp

View file

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Before After
Before After

View file

@ -12,6 +12,7 @@
lsof lsof
nix-diff nix-diff
nix-tree nix-tree
ouch
pv pv
usbutils usbutils
tealdeer tealdeer
@ -75,6 +76,7 @@
dust = "dust --limit-filesystem"; dust = "dust --limit-filesystem";
"mkfs.ntfs" = "mkfs.ntfs --quick"; "mkfs.ntfs" = "mkfs.ntfs --quick";
nix-shell = "nix-shell --run $SHELL"; nix-shell = "nix-shell --run $SHELL";
yt-dlp = "yt-dlp --write-subs";
# Command shortcuts. # Command shortcuts.
@ -105,6 +107,13 @@
nsff = "nix-store-fuzzy-find"; nsff = "nix-store-fuzzy-find";
nbp = "nix-build-pkg"; nbp = "nix-build-pkg";
nd = "nix develop --command $SHELL"; nd = "nix develop --command $SHELL";
# New commands.
nixos-cleanup-generations = ''
zsh -c "nix-env --profile /nix/var/nix/profiles/system --delete-generations +20 && \
/run/current-system/bin/switch-to-configuration boot"
'';
}; };
etc.vimrc.text = '' etc.vimrc.text = ''
@ -116,6 +125,11 @@
" history file. " history file.
let g:netrw_home = '$XDG_STATE_HOME/vim' let g:netrw_home = '$XDG_STATE_HOME/vim'
" Sublime settings files can have comments.
autocmd BufNewFile,BufRead *.sublime-settings set filetype=jsonc
" Most software that reads JSON with comments also accepts trailing commas.
autocmd FileType jsonc highlight link jsonTrailingCommaError Normal
set nowrap set nowrap
set hlsearch set hlsearch
set tabstop=2 set tabstop=2
@ -137,7 +151,7 @@
mutableUsers = false; mutableUsers = false;
users.rei = { users.rei = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" "wireshark" ];
openssh.authorizedKeys.keyFiles = [ assets/openssh-authorized-keys ]; openssh.authorizedKeys.keyFiles = [ assets/openssh-authorized-keys ];
}; };
}; };
@ -245,12 +259,12 @@
extraConfig = '' extraConfig = ''
polkit.addRule(function (action, subject) { polkit.addRule(function (action, subject) {
if (subject.user == "rei") { if (subject.user == "rei") {
// TODO: Find out what the difference between AUTH_SELF and AUTH_ADMIN is.
return polkit.Result.AUTH_SELF; return polkit.Result.AUTH_SELF;
} }
}); });
''; '';
}; };
sudo.extraConfig = '' sudo.extraConfig = ''
Defaults lecture="never" Defaults lecture="never"
''; '';

View file

@ -27,11 +27,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1769548169, "lastModified": 1792739756,
"narHash": "sha256-03+JxvzmfwRu+5JafM0DLbxgHttOQZkUtDWBmeUkN8Y=", "narHash": "sha256-s0TeXWG5Ci75Y/Hzon0Z7NrN/fG773Rc54/z6oPFszQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "impermanence", "repo": "impermanence",
"rev": "7b1d382faf603b6d264f58627330f9faa5cba149", "rev": "fa627f4c8b8e92f58f58a73d99ee4e1304e64eb2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -47,11 +47,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1788680125, "lastModified": 1794739050,
"narHash": "sha256-amGSoDobwmp4CFvCn841ws2iuitus+HUJdD/gKgsrJA=", "narHash": "sha256-PCGNIyAydZcdUXCxEXTjrS1+wWS+k9E+ENqBkUK2Mpg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "116ad1c2adb642405ef8916f6a94c8626f971344", "rev": "9bd074026d6db75b59aae8cd6071b5f2fe27a36c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -78,11 +78,11 @@
}, },
"nixpkgs-26-05": { "nixpkgs-26-05": {
"locked": { "locked": {
"lastModified": 1788807765, "lastModified": 1794872590,
"narHash": "sha256-J9oC0bKnkXUrMegqRTXVkyDFJ0gn2U/Qpoo9HgGMQmA=", "narHash": "sha256-E+XLAfnC7+bdr4qlEgRv6cdGmiqTU5oeFNKCha7epqQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "93108a538f079596c9a16c72cf03e9322782b6dd", "rev": "f68407657ad294471eb4b2e65d193df26edf729f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -94,11 +94,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1788752844, "lastModified": 1794890597,
"narHash": "sha256-VaWGJ6+cIYN2erfSecbRV+4ljI185Ty2wUrXyvQbgOw=", "narHash": "sha256-lME2lHoDHAaSHP3/okgiVoJ0icVEvsQH8LeU3We7tcc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "dc5d91f840324650bac8c379428c7037a416959a", "rev": "04906337b6d53e8bb0eaf0470ae9f070a4d4eb55",
"type": "github" "type": "github"
}, },
"original": { "original": {

206
nixos/graphical.nix Normal file
View file

@ -0,0 +1,206 @@
{ pkgs, pkgs-unstable, ... }:
{
boot = {
consoleLogLevel = 0;
kernelParams = [ "splash" "quiet" ];
plymouth.enable = true;
};
# For ddcutil.
users.users.rei.extraGroups = [ "i2c" ];
hardware = {
bluetooth.enable = true;
# For ddcutil.
i2c.enable = true;
};
environment.systemPackages = with pkgs; [
# CLI programs.
android-tools
# TODO: Consider replacing with ddcutil-service.
ddcutil
wl-clipboard
# Graphical programs.
blanket
celluloid
gnome-calculator
loupe
# We don't use programs.nm-applet.enable because that also creates an enabled systemd unit for
# the applet. We just want nm-connection-editor.
networkmanagerapplet
obsidian
spotify
sublime-merge
pkgs-unstable.overskride
pkgs-unstable.pwvucontrol
pkgs-unstable.yt-dlp
# Icon themes.
adw-gtk3
adwaita-icon-theme
];
programs = {
firefox.enable = true;
gnome-terminal.enable = true;
niri.enable = true;
thunderbird = {
enable = true;
policies = {
ExtensionSettings."langpack-en-GB@thunderbird.mozilla.org" = {
installation_mode = "force_installed";
install_url = let inherit (pkgs.thunderbird) version; in
"https://releases.mozilla.org/pub/thunderbird/releases/${version}/linux-x86_64/xpi/en-GB.xpi";
};
RequestedLocales = [ "en-GB" ];
};
};
dconf = {
enable = true;
profiles.user.databases = [ {
settings = {
"ca/desrt/dconf-editor".show-warning = false;
"org/gnome/desktop/interface" = {
accent-color = "purple";
color-scheme = "prefer-dark";
font-hinting = "none";
font-name = "Fira Sans Condensed 11";
gtk-theme = "adw-gtk3-dark";
monospace-font-name = "Fira Mono 10";
};
"org/gnome/desktop/wm/preferences".button-layout = "";
"org/gnome/nautilus/icon-view".default-zoom-level = "large";
"org/gnome/nautilus/list-view".default-zoom-level = "small";
"org/gnome/nautilus/preferences".default-folder-viewer = "list-view";
"org/gnome/terminal/legacy".default-show-menubar = false;
"org/gtk/gtk4/settings/file-chooser".show-hidden = true;
};
} ];
};
};
services.gvfs.enable = true;
fonts = {
packages = with pkgs; [
fira
# Hopefully temporary, for Ironbar.
font-awesome
# google-fonts
noto-fonts
];
fontconfig = {
defaultFonts = {
sansSerif = [ "Fira Sans Condensed" ];
monospace = [ "Fira Mono" ];
};
hinting.enable = false;
};
};
# TODO: Replace all these with CLI arguments / environment variables.
systemd.user.tmpfiles.rules = [
"d /home/rei/.config/niri 0755 rei users"
"L /home/rei/.config/niri/config.kdl - - - - /etc/niri/config.kdl"
"L /home/rei/.config/nwg-bar - - - - /etc/nwg-bar"
];
environment = {
persistence = {
"/mnt/persistent-data".users.rei.directories = [
"backups"
"downloads"
"projects"
"screenshots"
".config/mozilla/firefox"
# TODO: Move to machine state.
".config/spotify"
".thunderbird"
];
"/mnt/machine-state" = {
directories = [
"/var/lib/bluetooth"
];
users.rei.directories = [
".android"
".config/obsidian"
];
};
};
etc = {
"xdg/autostart/nm-applet.desktop".text = ''
[Desktop Entry]
Hidden=true
'';
"xdg/hypr/hyprlock.conf".text = ''
background {
path = /home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies
blur_passes = 4
blur_size = 4
contrast = 1.0
brightness = 1.0
vibrancy = 0.0
}
animations {
animation = fade, 0
}
# Clock.
label {
halign = center
valign = center
position = 0, 140
# TODO: Get the letter spacing identical to the explicit font name version.
# text = <span font="sans-serif 220" color="white" weight="400">$TIME</span>
text = <span font="Fira Sans Condensed 220" color="white">$TIME</span>
text_align = center
}
# Password textbox.
input-field {
halign = center
valign = center
position = 0, -180
size = 450, 75
placeholder_text = <span font="Fira Sans Condensed Bold 20" color="grey">Password</span>
fail_text = <span font="Fira Sans Condensed Bold 20" color="white">Incorrect</span>
inner_color = rgb(FFFFFF)
font_color = rgb(000000)
check_color = rgb(FF9800)
outline_thickness = 0
rounding = 10
fade_on_empty = false
# TODO: Doesn't exist anymore, what did this use to achieve?
# fail_timeout = 500
}
# Keyboard layout indicator.
# TODO: Why does this not work anymore?
# label {
# halign = center
# valign = center
# position = 0, -600
# text = <span font="Fira Sans Condensed Bold 30" color="white">$LAYOUT[!,Keyboard layout: български,Keyboard layout: Ελληνικά]</span>
# }
'';
};
};
security.soteria.enable = true;
}

386
nixos/ruysch-graphical.nix Normal file
View file

@ -0,0 +1,386 @@
{ pkgs, pkgs-unstable, ... }:
{
hardware.logitech.wireless.enable = true;
programs.wireshark = {
enable = true;
# Default is CLI-only package.
package = pkgs.wireshark;
usbmon.enable = true;
};
environment = {
systemPackages = with pkgs; [
cartero
darktable
signal-desktop
pkgs-unstable.jetbrains.rust-rover
];
persistence = {
"/mnt/persistent-data" = {
users.rei = {
directories = [
".config/JetBrains"
".config/sublime-merge"
".local/share/JetBrains"
".java"
".claude"
".mc"
];
files = [
".claude.json"
];
};
};
"/mnt/machine-state".users.rei.directories = [
".cargo"
".config/Signal"
".local/share/direnv"
];
};
etc = let
bluetoothctl = "${pkgs.bluez}/bin/bluetoothctl";
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
busctl = "${pkgs.systemd}/bin/busctl";
emote = "${pkgs.emote}/bin/emote";
firefox = "${pkgs.firefox}/bin/firefox";
gnome-terminal = "${pkgs.gnome-terminal}/bin/gnome-terminal";
hyprlock = "${pkgs.hyprlock}/bin/hyprlock";
ironbar = "${pkgs.ironbar}/bin/ironbar";
loginctl = "${pkgs.systemd}/bin/loginctl";
mako = "${pkgs.mako}/bin/mako";
nautilus = "${pkgs.nautilus}/bin/nautilus";
nmcli = "${pkgs.networkmanager}/bin/nmcli";
nwg-bar = "${pkgs.nwg-bar}/bin/nwg-bar";
pactl = "${pkgs.pulseaudio}/bin/pactl";
playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi = "${pkgs.rofi}/bin/rofi";
swaybg = "${pkgs.swaybg}/bin/swaybg";
swayidle = "${pkgs.swayidle}/bin/swayidle";
systemctl = "${pkgs.systemd}/bin/systemctl";
wayland-logout = "${pkgs.wayland-logout}/bin/wayland-logout";
wl-gammarelay-rs = "${pkgs.wl-gammarelay-rs}/bin/wl-gammarelay-rs";
wlr-randr = "${pkgs.wlr-randr}/bin/wlr-randr";
in {
"mako/config".text = ''
font=Fira Sans Condensed 11
background-color=#000000
width=400
border-size=0
padding=10
default-timeout=5000
'';
"niri/config.kdl".text = ''
spawn-at-startup "${swaybg}" "--image" \
"/home/rei/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies"
spawn-at-startup "${ironbar}"
spawn-at-startup "${wl-gammarelay-rs}"
spawn-at-startup "${mako}" "--config" "/etc/mako/config"
prefer-no-csd
screenshot-path "~/screenshots/niri-%Y-%m-%d-%H:%M:%S.png"
hotkey-overlay { skip-at-startup; }
input {
disable-power-key-handling
keyboard {
xkb {
layout "us,bg(phonetic),gr"
options "compose:ralt"
}
}
mouse { accel-profile "flat"; }
touchpad {
click-method "clickfinger"
natural-scroll
accel-speed 0.2
}
}
cursor { xcursor-theme "Adwaita"; }
layout {
gaps 60
center-focused-column "on-overflow"
always-center-single-column
empty-workspace-above-first
// struts { top -60; }
focus-ring { off; }
preset-column-widths {
proportion 0.5
proportion 1.0
}
insert-hint { color "#9141AC88"; }
}
overview { backdrop-color "#181821"; }
recent-windows { off; }
animations { slowdown 0.5; }
gestures { hot-corners { off; }; }
// Internal laptop screen.
output "BOE 0x0BCA Unknown" { scale 1.125; }
// TandemDrive office monitors.
output "Dell Inc. DELL P2715Q V48W26AB160L" { scale 1.25; }
output "Dell Inc. DELL P2715Q V48W26AB261L" { scale 1.25; }
output "Dell Inc. DELL P2715Q V48W263V308S" { scale 1.25; }
output "Dell Inc. DELL U3225QE GTC9C84" { mode "3840x2160@120"; }
output "LG Electronics LG HDR 4K 0x0005C746" { scale 1.25; }
output "LG Electronics LG Ultra HD 0x00020FEA" { scale 1.25; }
output "LG Electronics LG Ultra HD 0x00020FF4" { scale 1.25; }
// TV room Social Hub
output "Samsung Electric Company SAMSUNG 0x01000E00" {
scale 1.5
mode custom=true "2560x1440@60"
}
binds {
Super+Q { close-window; }
Super+W { spawn "${rofi}" "-show" "drun"; }
Super+E { spawn "${gnome-terminal}"; }
Super+R { spawn "${nautilus}"; }
Super+T { spawn "${firefox}"; }
Super+Shift+T { spawn "${firefox}" "--private-window"; }
Super+A { center-column; }
Super+S { switch-preset-column-width; }
Super+D { toggle-window-floating; }
Super+U allow-when-locked=true {
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
}
Super+I allow-when-locked=true {
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "+2%"
}
Super+Shift+I allow-when-locked=true {
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "100%"
}
Super+O allow-when-locked=true {
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
}
Super+P allow-when-locked=true { spawn "${wlr-randr}" "--output" "eDP-1" "--toggle"; }
Super+H { spawn "${nmcli}" "connection" "up" "airvpn"; }
Super+Shift+H { spawn "${nmcli}" "connection" "down" "airvpn"; }
Super+J { spawn "${emote}"; }
// TODO: Put this in linux-utils as Nix package.
// Super+K allow-when-locked=true { spawn "wl-gammarelay-toggle-temperature"; }
Super+K allow-when-locked=true {
spawn "${busctl}" "--user" "set-property" "rs.wl-gammarelay" "/" "rs.wl.gammarelay" \
"Temperature" "q" "4500"
}
Super+Shift+K allow-when-locked=true {
spawn "${busctl}" "--user" "set-property" "rs.wl-gammarelay" "/" "rs.wl.gammarelay" \
"Temperature" "q" "6500"
}
// TODO: Set up session-based locking like on Arch.
// Super+L { spawn "${loginctl}" "lock-session"; }
Super+L { spawn "${hyprlock}"; }
// I.e. the Non-Screeching Earwarmers.
Super+B { spawn "${bluetoothctl}" "connect" "58:18:62:1F:E3:33"; }
Super+Shift+B { spawn "${bluetoothctl}" "disconnect" "58:18:62:1F:E3:33"; }
Super+M { spawn "${playerctl}" "play-pause"; }
Super+Comma { spawn "${playerctl}" "previous"; }
Super+Period { spawn "${playerctl}" "next"; }
// TODO: Turn into Nix package.
// Super+BracketLeft allow-when-locked=true { spawn "ddc-brightness" "down"; }
// Super+BracketRight allow-when-locked=true { spawn "ddc-brightness" "up"; }
// Super+Shift+BracketRight allow-when-locked=true { spawn "ddc-brightness" "max"; }
Super+Tab { toggle-overview; }
Super+Space { switch-layout "next"; }
Super+Escape { spawn "${nwg-bar}"; }
Super+F11 { fullscreen-window; }
Super+Left { focus-column-left; }
Super+Right { focus-column-right; }
Super+Up { focus-workspace-up; }
Super+Down { focus-workspace-down; }
Super+Home { focus-column-first; }
Super+End { focus-column-last; }
Super+Shift+Left { move-column-left; }
Super+Shift+Right { move-column-right; }
Super+Shift+Up { move-column-to-workspace-up; }
Super+Shift+Down { move-column-to-workspace-down; }
Super+Shift+Home { move-column-to-first; }
Super+Shift+End { move-column-to-last; }
Super+Control+Shift+Left { move-column-to-monitor-left; }
Super+Control+Shift+Right { move-column-to-monitor-right; }
Super+Control+Shift+Up { move-column-to-monitor-up; }
Super+Control+Shift+Down { move-column-to-monitor-down; }
Super+1 { set-column-width "40%"; }
Super+2 { set-column-width "50%"; }
Super+3 { set-column-width "66.667%"; }
Super+4 { set-column-width "75%"; }
Super+5 { set-column-width "100%"; }
// TODO: Add back rectangle screenshot selection.
Print { screenshot; }
Super+Print { screenshot-window; }
// Special function keys.
XF86MonBrightnessDown allow-when-locked=true { spawn "${brightnessctl}" "set" "10%-"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "${brightnessctl}" "set" "+10%"; }
XF86AudioLowerVolume allow-when-locked=true {
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
}
XF86AudioRaiseVolume allow-when-locked=true {
spawn "${pactl}" "set-sink-volume" "@DEFAULT_SINK@" "+2%"
}
XF86AudioMute allow-when-locked=true {
spawn "${pactl}" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
}
XF86AudioPlay allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
XF86AudioPause allow-when-locked=true { spawn "${playerctl}" "play-pause"; }
}
// 75% width windows.
window-rule {
match app-id="firefox" is-floating=false
match app-id="jetbrains-rustrover" is-floating=false
match app-id="md.obsidian.Obsidian" is-floating=false
match app-id="signal" is-floating=false
match app-id="spotify" is-floating=false
match app-id="sublime_merge" is-floating=false
match app-id="thunderbird" is-floating=false
default-column-width { proportion 0.75; }
}
// Floated windows.
window-rule {
match app-id="org.gnome.Calculator"
open-floating true
}
// Un-floated windows.
window-rule {
match app-id="jetbrains-rustrover" title="^Conflicts$"
match app-id="jetbrains-rustrover" title="^Merge Revisions for "
match app-id="jetbrains-rustrover" title="^Settings – "
open-floating false
}
// Windows with clipped off shadows.
window-rule {
match app-id="jetbrains-rustrover" is-floating=false
clip-to-geometry true
}
// Add shadow to floating windows.
window-rule {
match is-floating=true
// These already have shadows, and aren't rectangular so clipping the existing ones off
// is a pain in the arse.
exclude app-id="jetbrains-rustrover"
shadow {
on
color "#0004"
softness 30
spread 0
offset x=0 y=0
draw-behind-window true
}
}
'';
"nwg-bar/bar.json".text = ''
[ {
"label": "_Lock",
"exec": "${loginctl} lock-session",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-lock-screen-symbolic.svg"
}, {
"label": "Log out",
"exec": "${wayland-logout}",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-log-out-symbolic.svg"
}, {
"label": "_Suspend",
"exec": "${systemctl} suspend",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-suspend-symbolic.svg"
}, {
"label": "_Hibernate",
"exec": "${systemctl} hibernate",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-suspend-symbolic.svg"
}, {
"label": "Shut down",
"exec": "${systemctl} poweroff",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-shutdown-symbolic.svg"
}, {
"label": "Reboot",
"exec": "${systemctl} reboot",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-restart-symbolic.svg"
} ]
'';
"nwg-bar/style.css".text = ''
window { background-color: black; }
#outer-box { margin: 30px; }
label {
margin-top: 8px;
color: white;
}
button {
margin: 10px;
padding: 14px;
background-color: #333;
}
button:hover { background-color: #444; }
'';
};
};
services.evremap = {
enable = true;
settings = {
device_name = "Logitech MX Vertical";
remap = [
{ input = [ "BTN_EXTRA" ]; output = [ "BTN_MIDDLE" ]; }
{ input = [ "BTN_SIDE" ]; output = [ "BTN_MIDDLE" ]; }
];
};
};
}

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { lib, pkgs, pkgs-unstable, ... }:
{ {
system.stateVersion = "26.05"; system.stateVersion = "26.05";
@ -50,7 +50,7 @@
}; };
kernelModules = [ "kvm-amd" ]; kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_zen;
}; };
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
@ -108,12 +108,18 @@
networking = { networking = {
hostName = "ruysch"; hostName = "ruysch";
networkmanager.enable = true; networkmanager.enable = true;
hosts = {
"fdef:4d4b:17b2::1" = [ "travel-router-vivian" ];
"10.0.0.1" = [ "travel-router-vivian" ];
};
}; };
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
claude-code
minio-client minio-client
python3
pkgs-unstable.claude-code
]; ];
persistence."/mnt/persistent-data".directories = [ persistence."/mnt/persistent-data".directories = [
@ -122,6 +128,43 @@
"/var/lib/garage" "/var/lib/garage"
"/var/lib/postgresql" "/var/lib/postgresql"
]; ];
etc."claude/settings.json".source = (pkgs.formats.json {}).generate "claude-config" {
# Required by TandemDrive security policy.
permissions = {
deny = [
"Read(.env)"
"Read(.env.*)"
"Read(~/.ssh/**)"
"Read(~/.gnupg/**)"
"Read(~/.config/**)"
"Read(~/Documents/**)"
"Bash(* | bash)"
"Bash(* | sh)"
"Bash(sudo *)"
"Bash(ssh *)"
"Bash(git push *)"
"Bash(git commit *)"
];
ask = [
"Bash(git push *)"
"Bash(git commit *)"
];
disableBypassPermissionsMode = "disable";
};
# Personal config.
env = {
CLAUDE_CODE_ENABLE_AWAY_SUMMARY = 0;
CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION = "false";
};
feedbackSurveyRate = 0;
modelSettings.claude-opus-5-5.effortLevel = "high";
# Default is dark.
theme = "auto";
};
}; };
services = { services = {
@ -206,6 +249,11 @@
redis.serviceConfig.RuntimeDirectoryMode = lib.mkForce "0755"; redis.serviceConfig.RuntimeDirectoryMode = lib.mkForce "0755";
}; };
systemd.user.tmpfiles.rules = [
# TODO: Don't persist entire .claude directory.
"L /home/rei/.claude/settings.json - - - - /etc/claude/settings.json"
];
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"L+ /tmp/.s.PGSQL.5432 - - - - /run/postgresql/.s.PGSQL.5432" "L+ /tmp/.s.PGSQL.5432 - - - - /run/postgresql/.s.PGSQL.5432"
]; ];

View file

@ -1,286 +0,0 @@
{ pkgs, pkgs-unstable, ... }:
{
environment = {
systemPackages = [
pkgs-unstable.jetbrains.rust-rover
pkgs.cartero
pkgs.darktable
pkgs.loupe
pkgs.signal-desktop
];
persistence = {
"/mnt/persistent-data" = {
users.rei = {
directories = [
".config/JetBrains"
".config/sublime-merge"
".local/share/JetBrains"
".java"
".claude"
".mc"
];
files = [
".claude.json"
];
};
};
"/mnt/machine-state".users.rei.directories = [
".cargo"
".config/Signal"
".local/share/direnv"
];
};
etc = {
"niri/config.kdl".text = ''
spawn-at-startup "${pkgs.swaybg}/bin/swaybg" "--image" \
"~/projects/infrastructure/nixos/assets/wallpaper-macos-swirlies"
spawn-at-startup "${pkgs.ironbar}/bin/ironbar"
spawn-at-startup "${pkgs.wl-gammarelay-rs}/bin/wl-gammarelay-rs"
spawn-at-startup "${pkgs.swayidle}/bin/swayidle" "timeout" "600" \
"${pkgs.hyprlock}/bin/hyprlock"
prefer-no-csd
screenshot-path "~/screenshots/niri-%Y-%m-%d-%H:%M:%S.png"
hotkey-overlay { skip-at-startup; }
input {
disable-power-key-handling
keyboard {
xkb {
layout "us,bg(phonetic),gr"
options "compose:ralt"
}
}
mouse { accel-profile "flat"; }
touchpad {
click-method "clickfinger"
natural-scroll
accel-speed 0.2
}
}
cursor { xcursor-theme "Adwaita"; }
layout {
gaps 60
center-focused-column "on-overflow"
always-center-single-column
empty-workspace-above-first
// struts { top -60; }
focus-ring { off; }
preset-column-widths {
proportion 0.5
proportion 1.0
}
insert-hint { color "#9141AC88"; }
}
overview { backdrop-color "#181821"; }
recent-windows { off; }
animations { slowdown 0.5; }
gestures { hot-corners { off; }; }
// Internal laptop screen.
output "BOE 0x0BCA Unknown" { scale 1.125; }
// LG monitor TandemDrive.
output "LG Electronics LG Ultra HD 0x00020FEA" { scale 1.25; }
binds {
Super+Q { close-window; }
Super+W { spawn "${pkgs.rofi}/bin/rofi" "-show" "drun"; }
Super+E { spawn "${pkgs.gnome-terminal}/bin/gnome-terminal"; }
Super+R { spawn "${pkgs.nautilus}/bin/nautilus"; }
Super+T { spawn "${pkgs.firefox}/bin/firefox"; }
Super+Shift+T { spawn "${pkgs.firefox}/bin/firefox" "--private-window"; }
Super+A { center-column; }
Super+S { switch-preset-column-width; }
Super+D { toggle-window-floating; }
Super+U allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
}
Super+I allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-volume" "@DEFAULT_SINK@" "+2%"
}
Super+Shift+I allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-volume" "@DEFAULT_SINK@" "100%"
}
Super+O allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
}
Super+P allow-when-locked=true {
spawn "${pkgs.wlr-randr}/bin/wlr-randr" "--output" "eDP-1" "--toggle"
}
// TODO: Replace with toggle script.
Super+H { spawn "${pkgs.networkmanager}/bin/nmcli" "connection" "up" "airvpn-serbia"; }
Super+Shift+H {
spawn "${pkgs.networkmanager}/bin/nmcli" "connection" "down" "airvpn-serbia"
}
Super+J { spawn "${pkgs.emote}/bin/emote"; }
// TODO: Put this in linux-utils as Nix package.
// Super+K allow-when-locked=true { spawn "wl-gammarelay-toggle-temperature"; }
Super+K allow-when-locked=true {
spawn "${pkgs.systemd}/bin/busctl" "--user" "set-property" "rs.wl-gammarelay" "/" \
"rs.wl.gammarelay" "Temperature" "q" "4500"
}
Super+Shift+K allow-when-locked=true {
spawn "${pkgs.systemd}/bin/busctl" "--user" "set-property" "rs.wl-gammarelay" "/" \
"rs.wl.gammarelay" "Temperature" "q" "6500"
}
// TODO: Set up session-based locking like on Arch.
// Super+L { spawn "${pkgs.systemd}/bin/loginctl" "lock-session"; }
Super+L { spawn "${pkgs.hyprlock}/bin/hyprlock"; }
// I.e. the Non-Screeching Earwarmers.
Super+B { spawn "${pkgs.bluez}/bin/bluetoothctl" "connect" "58:18:62:1F:E3:33"; }
Super+Shift+B { spawn "${pkgs.bluez}/bin/bluetoothctl" "disconnect" "58:18:62:1F:E3:33"; }
Super+M { spawn "${pkgs.playerctl}/bin/playerctl" "play-pause"; }
Super+Comma { spawn "${pkgs.playerctl}/bin/playerctl" "previous"; }
Super+Period { spawn "${pkgs.playerctl}/bin/playerctl" "next"; }
// TODO: Turn in to Nix package.
// Super+BracketLeft allow-when-locked=true { spawn "ddc-brightness" "down"; }
// Super+BracketRight allow-when-locked=true { spawn "ddc-brightness" "up"; }
// Super+Shift+BracketRight allow-when-locked=true { spawn "ddc-brightness" "max"; }
Super+Tab { toggle-overview; }
Super+Space { switch-layout "next"; }
Super+Escape { spawn "${pkgs.nwg-bar}/bin/nwg-bar"; }
Super+F11 { fullscreen-window; }
Super+Left { focus-column-left; }
Super+Right { focus-column-right; }
Super+Up { focus-workspace-up; }
Super+Down { focus-workspace-down; }
Super+Home { focus-column-first; }
Super+End { focus-column-last; }
Super+Shift+Left { move-column-left; }
Super+Shift+Right { move-column-right; }
Super+Shift+Up { move-column-to-workspace-up; }
Super+Shift+Down { move-column-to-workspace-down; }
Super+Shift+Home { move-column-to-first; }
Super+Shift+End { move-column-to-last; }
Super+Control+Shift+Left { move-column-to-monitor-left; }
Super+Control+Shift+Right { move-column-to-monitor-right; }
Super+Control+Shift+Up { move-column-to-monitor-up; }
Super+Control+Shift+Down { move-column-to-monitor-down; }
Super+1 { set-column-width "40%"; }
Super+2 { set-column-width "50%"; }
Super+3 { set-column-width "66.667%"; }
Super+4 { set-column-width "75%"; }
Super+5 { set-column-width "100%"; }
// TODO: Add back rectangle screenshot selection.
Print { screenshot; }
Super+Print { screenshot-window; }
XF86MonBrightnessDown allow-when-locked=true {
spawn "${pkgs.brightnessctl}/bin/brightnessctl" "set" "10%-"
}
XF86MonBrightnessUp allow-when-locked=true {
spawn "${pkgs.brightnessctl}/bin/brightnessctl" "set" "+10%"
}
XF86AudioLowerVolume allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-volume" "@DEFAULT_SINK@" "-2%"
}
XF86AudioRaiseVolume allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-volume" "@DEFAULT_SINK@" "+2%"
}
XF86AudioMute allow-when-locked=true {
spawn "${pkgs.pulseaudio}/bin/pactl" "set-sink-mute" "@DEFAULT_SINK@" "toggle"
}
XF86AudioPlay allow-when-locked=true {
spawn "${pkgs.playerctl}/bin/playerctl" "play-pause"
}
XF86AudioPause allow-when-locked=true {
spawn "${pkgs.playerctl}/bin/playerctl" "play-pause"
}
}
window-rule {
match app-id="firefox" is-floating=false
match app-id="jetbrains-rustrover" is-floating=false
match app-id="spotify" is-floating=false
match app-id="sublime_merge" is-floating=false
default-column-width { proportion 0.75; }
}
window-rule {
match app-id="jetbrains-rustrover" is-floating=false
clip-to-geometry true
}
'';
"nwg-bar/bar.json".text = ''
[ {
"label": "_Lock",
"exec": "${pkgs.systemd}/bin/loginctl lock-session",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-lock-screen-symbolic.svg"
}, {
"label": "Log out",
"exec": "wayland-logout",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-log-out-symbolic.svg"
}, {
"label": "_Suspend",
"exec": "${pkgs.systemd}/bin/systemctl suspend",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-suspend-symbolic.svg"
}, {
"label": "_Hibernate",
"exec": "${pkgs.systemd}/bin/systemctl hibernate",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-suspend-symbolic.svg"
}, {
"label": "Shut down",
"exec": "${pkgs.systemd}/bin/systemctl poweroff",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-shutdown-symbolic.svg"
}, {
"label": "Reboot",
"exec": "${pkgs.systemd}/bin/systemctl reboot",
"icon": "/usr/local/share/icons/kernelmaft/scalable/system-restart-symbolic.svg"
} ]
'';
"nwg-bar/style.css".text = ''
window { background-color: black; }
#outer-box { margin: 30px; }
label {
margin-top: 8px;
color: white;
}
button {
margin: 10px;
padding: 14px;
background-color: #333;
}
button:hover { background-color: #444; }
'';
};
};
}