diff --git a/nixos/desktop.nix b/nixos/desktop.nix index 89ce649c..fb93291b 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -80,6 +80,7 @@ rofi rofi-pass rofi-systemd + shutter simplescreenrecorder skippy-xd synergy diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 7798d1d1..0abadae8 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -119,6 +119,22 @@ inputs: { pkgs, config, ... }: { }; }; + systemd.user.services.shutter = { + Unit = { + Description = "Shutter"; + After = [ "graphical-session-pre.target" "tray.target" ]; + PartOf = [ "graphical-session.target" ]; + }; + + Install = { WantedBy = [ "graphical-session.target" ]; }; + + Service = { + ExecStart = "${pkgs.shutter}/bin/shutter --min_at_startup"; + Restart = "always"; + RestartSec = 3; + }; + }; + systemd.user.services.picom = { Unit = { Description = "Picom X11 compositor";