nixos/modules/desktop/fireproof-shell.nix
2025-03-06 00:38:55 +01:00

26 lines
631 B
Nix

{
config,
inputs,
pkgs,
pkgsUnstable,
...
}: let
fireproofPkgs = inputs.fireproof-shell.packages.${pkgs.system};
in {
environment.systemPackages = [
fireproofPkgs.fireproof-shell
fireproofPkgs.fireproof-ipc
pkgsUnstable.astal.io
];
programs.fireproof-shell = {
enable = true;
settings = {
monitor.main = (builtins.head config.monitors).name or "";
launcher.uwsm = true;
notification.ignore = ["/^Spotify/"];
tray.ignore = ["/spotify/"];
};
};
fireproof.home-manager.wayland.windowManager.hyprland.settings.execr = ["pkill .fireproof-shel; fireproof-shell"];
}