From 46c0458f32b3a01a6de074eb40a14a2d88775c35 Mon Sep 17 00:00:00 2001 From: makefu <github@syntax-fehler.de> Date: Thu, 2 Jul 2020 08:34:51 +0200 Subject: [PATCH] ma home-manager: use flameshot with paste.r for imgur --- 2configs/home-manager/desktop.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/2configs/home-manager/desktop.nix b/2configs/home-manager/desktop.nix index cf20af1..bd1e348 100644 --- a/2configs/home-manager/desktop.nix +++ b/2configs/home-manager/desktop.nix @@ -1,8 +1,14 @@ -{ pkgs, lib, ... }: +{ pkgs, lib, config, ... }: { + users.users.makefu.packages = with pkgs;[ bat direnv clipit ]; home-manager.users.makefu = { + systemd.user.services.flameshot.Service.Environment = lib.mkForce [ + "IMGUR_CREATE_URL=https://p.krebsco.de/image" + "IMGUR_DELETE_URL=https://p.krebsco.de/image/delete/%%1" + "PATH=${config.home-manager.users.makefu.home.profileDirectory}/bin" + ]; systemd.user.services.network-manager-applet.Service.Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.networkmanagerapplet}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache''; programs.browserpass = { browsers = [ "firefox" ] ; enable = true; }; programs.firefox = {