mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
fix(flameshot): configurate with nix
This commit is contained in:
@@ -3,19 +3,23 @@
|
|||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
services.flameshot.enable = true;
|
services.flameshot.enable = true;
|
||||||
|
|
||||||
home.file.".config/Dharkael/flameshot.ini".source = (pkgs.formats.ini {}).generate "flameshot.ini" {
|
xdg.configFile."flameshot/flameshot.ini".source = (pkgs.formats.ini {}).generate "flameshot.ini" {
|
||||||
General = {
|
General = {
|
||||||
disabledTrayIcon = true;
|
disabledTrayIcon = true;
|
||||||
drawColor = ''@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\xff\xff\0\0)'';
|
checkForUpdates = false;
|
||||||
|
contrastOpacity = 188;
|
||||||
|
savePath = "/tmp";
|
||||||
|
savePathFixed = true;
|
||||||
drawThickness = 0;
|
drawThickness = 0;
|
||||||
|
showStartupLaunchMessage = false;
|
||||||
filenamePattern = "shot_%F_%T";
|
filenamePattern = "shot_%F_%T";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.flameshot.Unit.Requires = lib.mkForce [];
|
systemd.user.services.flameshot.Unit.Requires = lib.mkForce [];
|
||||||
systemd.user.services.flameshot.Environment = {
|
systemd.user.services.flameshot.Environment = {
|
||||||
IMGUR_CREATE_URL = "https://p.krebsco.de/image";
|
# IMGUR_CREATE_URL = "https://p.krebsco.de/image";
|
||||||
IMGUR_DELETE_URL = "https://p.krebsco.de/image/delete/%1";
|
# IMGUR_DELETE_URL = "https://p.krebsco.de/image/delete/%1";
|
||||||
PATH = "${config.home-manager.users.me.home.profileDirectory}/bin";
|
PATH = "${config.home-manager.users.me.home.profileDirectory}/bin";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user