1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 19:41:08 +01:00
Files
niveum/configs/flameshot-once.nix

27 lines
830 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
home-manager.users.me = {
services.flameshot.enable = true;
2020-06-02 23:02:21 +02:00
2021-06-07 15:34:26 +02:00
xdg.configFile."flameshot/flameshot.ini".source = (pkgs.formats.ini {}).generate "flameshot.ini" {
General = {
disabledTrayIcon = true;
2021-06-07 15:34:26 +02:00
checkForUpdates = false;
contrastOpacity = 188;
savePath = "/tmp";
savePathFixed = true;
drawThickness = 0;
2021-06-07 15:34:26 +02:00
showStartupLaunchMessage = false;
filenamePattern = "shot_%F_%T";
2020-06-04 13:28:49 +02:00
};
};
systemd.user.services.flameshot.Unit.Requires = lib.mkForce [];
systemd.user.services.flameshot.Environment = {
2021-06-07 15:34:26 +02:00
# IMGUR_CREATE_URL = "https://p.krebsco.de/image";
# IMGUR_DELETE_URL = "https://p.krebsco.de/image/delete/%1";
PATH = "${config.home-manager.users.me.home.profileDirectory}/bin";
};
};
2020-06-02 23:02:21 +02:00
}