diff options
author | lassulus <lass@blue.r> | 2018-09-24 10:19:34 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-09-24 10:19:34 +0200 |
commit | 260b757feebf710daeb4d8964297dff2ed794278 (patch) | |
tree | be58e53ad90f14928ff888ab10d0a501df78c744 /makefu/2configs/home-manager/desktop.nix | |
parent | f473c1f7893abb4d7f299d5cf7d0f382086cba9e (diff) | |
parent | 1996b597480ab45bbd15c0d7095921ced7a9e9ab (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/home-manager/desktop.nix')
-rw-r--r-- | makefu/2configs/home-manager/desktop.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/makefu/2configs/home-manager/desktop.nix b/makefu/2configs/home-manager/desktop.nix new file mode 100644 index 000000000..c2f854d47 --- /dev/null +++ b/makefu/2configs/home-manager/desktop.nix @@ -0,0 +1,31 @@ +{pkgs, ... }: { + home-manager.users.makefu = { + programs.browserpass = { browsers = [ "firefox" ] ; enable = true; }; + services.network-manager-applet.enable = true; + services.blueman-applet.enable = true; + services.pasystray.enable = true; + + systemd.user.services.network-manager-applet.Service.Environment = '' + XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache + ''; + systemd.user.services.clipit = { + Unit = { + Description = "clipboard manager"; + After = [ "graphical-session-pre.target" ]; + PartOf = [ "graphical-session.target" ]; + }; + + Install = { + WantedBy = [ "graphical-session.target" ]; + }; + + Service = { + Environment = '' + XDG_DATA_DIRS=/etc/profiles/per-user/makefu/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache + ''; + ExecStart = "${pkgs.clipit}/bin/clipit"; + Restart = "on-abort"; + }; + }; + }; +} |