mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-26 05:58:20 -04:00
35 lines
766 B
Nix
35 lines
766 B
Nix
{ config, ... }:
|
|
{
|
|
# needed to workaround https://github.com/nix-community/home-manager/issues/2064
|
|
systemd.user.targets.tray = {
|
|
Unit = {
|
|
Description = "Home Manager System Tray";
|
|
Requires = [ "graphical-session-pre.target" ];
|
|
};
|
|
};
|
|
programs = {
|
|
plasma = {
|
|
hotkeys = {
|
|
commands = {
|
|
"flameshot" = {
|
|
name = "flameshot";
|
|
key = "Print";
|
|
command = "flameshot gui";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
services = {
|
|
flameshot = {
|
|
enable = true;
|
|
settings = {
|
|
General = {
|
|
savePath = "/home/${config.home.username}/ss/";
|
|
saveAsFileExtension = ".png";
|
|
showDesktopNotification = false;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|