Better flameshot config
This commit is contained in:
parent
f36a1e1adf
commit
029de2e63e
4 changed files with 32 additions and 4 deletions
20
modules/features/flameshot.nix
Normal file
20
modules/features/flameshot.nix
Normal 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
|
||||
];
|
||||
}
|
||||
|
|
@ -122,6 +122,10 @@
|
|||
xray = false;
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [ { app-id="^flameshot$" } ];
|
||||
open-floating = true;
|
||||
};
|
||||
];
|
||||
|
||||
binds = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue