nixos: add quickshell/waybar/taffybar modules

- Switch taffybar input to the local submodule
- Add caelestia quickshell (home-manager module)
- Make waybar/taffybar mutually exclusive, defaulting based on xmonad
- Move tray ordering and status notifier watcher config into the right modules
This commit is contained in:
2026-02-05 12:00:46 -08:00
committed by Kat Huang
parent 2d8d5d7fcb
commit 1f60631e6c
12 changed files with 436 additions and 899 deletions

View File

@@ -1,7 +1,23 @@
{ config, makeEnable, ... }:
{ config, lib, makeEnable, ... }:
makeEnable config "myModules.sni" true {
home-manager.sharedModules = [
{
systemd.user.services =
let
wantGraphicalPre = {
Install.WantedBy = lib.mkAfter [ "graphical-session-pre.target" ];
};
in
{
blueman-applet = wantGraphicalPre;
kdeconnect = wantGraphicalPre;
kdeconnect-indicator = wantGraphicalPre;
network-manager-applet = wantGraphicalPre;
pasystray = wantGraphicalPre;
udiskie = wantGraphicalPre;
flameshot = wantGraphicalPre;
};
services.blueman-applet = {
enable = true;
};
@@ -25,11 +41,6 @@ makeEnable config "myModules.sni" true {
tray = "always";
};
services.status-notifier-watcher = {
enable = true;
flags = ["--log-level" "DEBUG"];
};
services.pasystray.enable = true;
services.flameshot = {