Files
2025-04-13 15:09:14 +08:00

30 lines
490 B
Nix

{
config,
lib,
pkgs,
...
}:
lib.my.makeHomePackageConfig {
inherit config pkgs;
packageName = "swaync";
packagePath = [ "swaynotificationcenter" ];
optionPath = [
"desktop"
"notify"
"swaync"
];
extraConfig = {
my.home = {
programs.niri.settings.binds."Mod+End".action.spawn = [
"swaync-client"
"-t"
"-sw"
];
xdg.configFile."swaync" = {
source = ./config;
recursive = true;
};
};
};
}