diff --git a/modules/features/flameshot.nix b/modules/features/flameshot.nix new file mode 100644 index 0000000..f793895 --- /dev/null +++ b/modules/features/flameshot.nix @@ -0,0 +1,20 @@ +{ + flake.nixosModules.flameshot = { + services.flameshot = { + enable = true; + General = { + showStartupLaunchMessage = false; + useGrimAdapter = true; + disabledGrimWarning = true; + }; + }; + }; + + + environment.systemPackages = [ + flameshot + grim + slurp + satty + ]; +} diff --git a/modules/features/tiling/niri.nix b/modules/features/tiling/niri.nix index e18ac62..5d04e8c 100644 --- a/modules/features/tiling/niri.nix +++ b/modules/features/tiling/niri.nix @@ -122,6 +122,10 @@ xray = false; }; } + { + matches = [ { app-id="^flameshot$" } ]; + open-floating = true; + }; ]; binds = { diff --git a/modules/hosts/crow/configuration.nix b/modules/hosts/crow/configuration.nix index 74bfe9d..9794251 100644 --- a/modules/hosts/crow/configuration.nix +++ b/modules/hosts/crow/configuration.nix @@ -11,6 +11,7 @@ self.nixosModules.zsh self.nixosModules.vesktop self.nixosModules.fuzzel + self.nixosModules.flameshot ]; environment.systemPackages = with pkgs; [ @@ -35,7 +36,6 @@ brave lutris steam - flameshot easyeffects ]; diff --git a/modules/hosts/robin/configuration.nix b/modules/hosts/robin/configuration.nix index c9859d7..fa0bb6e 100644 --- a/modules/hosts/robin/configuration.nix +++ b/modules/hosts/robin/configuration.nix @@ -45,12 +45,10 @@ # Fix non-FHS paths for longhorn # This creates persistent symlinks where Longhorn expects to find them. systemd.tmpfiles.rules = [ - "L+ /usr/bin/iscsiadm - - - - /run/current-system/sw/bin/iscsiadm" - "L+ /sbin/iscsiadm - - - - /run/current-system/sw/bin/iscsiadm" - # Core mount utilities (provide both /bin and /usr/bin paths) "L+ /bin/mount - - - - /run/current-system/sw/bin/mount" "L+ /usr/bin/mount - - - - /run/current-system/sw/bin/mount" + "L+ /sbin/mount - - - - /run/current-system/sw/bin/mount" "L+ /bin/umount - - - - /run/current-system/sw/bin/umount" "L+ /usr/bin/umount - - - - /run/current-system/sw/bin/umount" "L+ /bin/nsenter - - - - /run/current-system/sw/bin/nsenter" @@ -61,6 +59,12 @@ "L+ /sbin/umount.nfs - - - - /run/current-system/sw/bin/umount.nfs" "L+ /usr/sbin/mount.nfs - - - - /run/current-system/sw/bin/mount.nfs" "L+ /usr/sbin/umount.nfs - - - - /run/current-system/sw/bin/umount.nfs" + + # NFSv4 specific helpers required by Longhorn RWX + "L+ /sbin/mount.nfs4 - - - - /run/current-system/sw/bin/mount.nfs4" + "L+ /sbin/umount.nfs4 - - - - /run/current-system/sw/bin/umount.nfs4" + "L+ /usr/sbin/mount.nfs4 - - - - /run/current-system/sw/bin/mount.nfs4" + "L+ /usr/sbin/umount.nfs4 - - - - /run/current-system/sw/bin/umount.nfs4" ]; # RAID