Better flameshot config

This commit is contained in:
KnightArtorias 2026-06-18 18:41:34 -04:00
parent f36a1e1adf
commit 029de2e63e
4 changed files with 32 additions and 4 deletions

View file

@ -0,0 +1,20 @@
{
flake.nixosModules.flameshot = {
services.flameshot = {
enable = true;
General = {
showStartupLaunchMessage = false;
useGrimAdapter = true;
disabledGrimWarning = true;
};
};
};
environment.systemPackages = [
flameshot
grim
slurp
satty
];
}

View file

@ -122,6 +122,10 @@
xray = false; xray = false;
}; };
} }
{
matches = [ { app-id="^flameshot$" } ];
open-floating = true;
};
]; ];
binds = { binds = {

View file

@ -11,6 +11,7 @@
self.nixosModules.zsh self.nixosModules.zsh
self.nixosModules.vesktop self.nixosModules.vesktop
self.nixosModules.fuzzel self.nixosModules.fuzzel
self.nixosModules.flameshot
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -35,7 +36,6 @@
brave brave
lutris lutris
steam steam
flameshot
easyeffects easyeffects
]; ];

View file

@ -45,12 +45,10 @@
# Fix non-FHS paths for longhorn # Fix non-FHS paths for longhorn
# This creates persistent symlinks where Longhorn expects to find them. # This creates persistent symlinks where Longhorn expects to find them.
systemd.tmpfiles.rules = [ 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) # Core mount utilities (provide both /bin and /usr/bin paths)
"L+ /bin/mount - - - - /run/current-system/sw/bin/mount" "L+ /bin/mount - - - - /run/current-system/sw/bin/mount"
"L+ /usr/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+ /bin/umount - - - - /run/current-system/sw/bin/umount"
"L+ /usr/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" "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+ /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/mount.nfs - - - - /run/current-system/sw/bin/mount.nfs"
"L+ /usr/sbin/umount.nfs - - - - /run/current-system/sw/bin/umount.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 # RAID