From a6d9bdb7a9ff2fa90aa675116105e71e6abe6e99 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 1 Jan 2025 12:20:30 -0700 Subject: [PATCH] [NixOS] Replace shutter with flameshot (for screenshots) --- nixos/desktop.nix | 1 - nixos/flake.nix | 1 - nixos/xmonad.nix | 20 ++++---------------- 3 files changed, 4 insertions(+), 18 deletions(-) diff --git a/nixos/desktop.nix b/nixos/desktop.nix index b6dcefcb..89080af3 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -77,7 +77,6 @@ makeEnable config "myModules.desktop" true { rofi rofi-pass rofi-systemd - # shutter simplescreenrecorder skippy-xd synergy diff --git a/nixos/flake.nix b/nixos/flake.nix index 18ab1248..cf0026af 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -31,7 +31,6 @@ url = "git+ssh://gitea@dev.railbird.ai:1123/railbird/secrets-flake.git"; }; - xmonad = { url = "github:xmonad/xmonad"; inputs = { diff --git a/nixos/xmonad.nix b/nixos/xmonad.nix index 2e05ab5f..db544ae1 100644 --- a/nixos/xmonad.nix +++ b/nixos/xmonad.nix @@ -78,6 +78,10 @@ makeEnable config "myModules.xmonad" true { # package = pkgs.clipit; # }; + services.flameshot = { + enable = true; + }; + services.picom = { enable = true; vSync = config.myModules.xmonad.picom.vSync.enable; @@ -151,21 +155,5 @@ makeEnable config "myModules.xmonad" true { # RestartSec = 3; # }; # }; - - # 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; - # }; - # }; }; }