Added impermanence to home manager

This commit is contained in:
2026-06-30 00:27:15 +02:00
parent f1c99682ac
commit a0f6f9052b
9 changed files with 93 additions and 111 deletions
+7 -5
View File
@@ -13,12 +13,14 @@
// (import ./dual.nix { inherit compositor; })
);
home.packages = lib.mkIf (!pkgs.stdenv.isDarwin) (with pkgs; [ cava ]);
home = {
packages = lib.mkIf (!pkgs.stdenv.isDarwin) (with pkgs; [ cava ]);
home.file = lib.mkIf (!pkgs.stdenv.isDarwin) {
".config/waybar" = {
source = ./configs;
recursive = true;
file = lib.mkIf (!pkgs.stdenv.isDarwin) {
".config/waybar" = {
source = ./configs;
recursive = true;
};
};
};
}
-31
View File
@@ -1,31 +0,0 @@
{
widgets = {
"niri/workspaces" = {
format = "{icon}";
format-icons = {
default = "";
active = "";
};
};
"custom/swaync" = {
tooltip = false;
format = "{icon}";
format-icons = {
notification = "<span foreground='red'><sup></sup></span>";
none = " ";
dnd-notification = "<span foreground='red'><sup></sup></span>";
dnd-none = " ";
inhibited-notification = "<span foreground='red'><sup></sup></span>";
inhibited-none = " ";
dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>";
dnd-inhibited-none = " ";
};
return-type = "json";
exec-if = "which swaync-client";
exec = "swaync-client -swb";
on-click = "swaync-client -t -sw";
on-click-right = "swaync-client -d -sw";
escape = true;
};
};
}