diff --git a/home/user/hyprland.nix b/home/user/hyprland.nix index dde642f..9afb94d 100644 --- a/home/user/hyprland.nix +++ b/home/user/hyprland.nix @@ -2,6 +2,7 @@ pkgs, lib, inputs, + config, system, osConfig, settings, @@ -224,7 +225,7 @@ in timeout-critical = 0; timeout-low = 2; transition-time = 200; - widgets = [ + widgets = lib.mkForce [ "title" "notifications" "mpris" @@ -380,6 +381,15 @@ in ''; }; + systemd.user.services.swaync.Service = { + ExecStart = lib.mkForce ''${pkgs.swaynotificationcenter}/bin/swaync --config ${ + config.xdg.configFile."swaync/config.json".target + } --style ${config.xdg.configFile."swaync/style.css".target}''; + Environment = [ + "XDG_CONFIG_HOME=/home/_dummy" + ]; + }; + # === rofi === # programs.rofi = { enable = true;