summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home-manager/desktop.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-07-02 08:34:51 +0200
committermakefu <github@syntax-fehler.de>2020-07-02 08:34:51 +0200
commit9579a313a13e43decac20c9aba777604b4a0e691 (patch)
treef9c7a7d31bc1fe92258378104f6e52e6dd4e6286 /makefu/2configs/home-manager/desktop.nix
parentc244790227b120e6a514efc8b7148a958258084c (diff)
ma home-manager: use flameshot with paste.r for imgur
Diffstat (limited to 'makefu/2configs/home-manager/desktop.nix')
-rw-r--r--makefu/2configs/home-manager/desktop.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/makefu/2configs/home-manager/desktop.nix b/makefu/2configs/home-manager/desktop.nix
index cf20af1b1..bd1e34804 100644
--- a/makefu/2configs/home-manager/desktop.nix
+++ b/makefu/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 = {