summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home-manager/desktop.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-19 02:52:58 +0200
committermakefu <github@syntax-fehler.de>2018-09-19 02:52:58 +0200
commitd99bbadf37b04cd1f5efb1e04d5996ef7dfd969a (patch)
tree4338d4f8c3d554927901d1b412782924760ae22d /makefu/2configs/home-manager/desktop.nix
parent8a756c7333e0e7c4a0433d68775f8d7c1a53b8b0 (diff)
ma home-manager: init
Diffstat (limited to 'makefu/2configs/home-manager/desktop.nix')
-rw-r--r--makefu/2configs/home-manager/desktop.nix31
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";
+ };
+ };
+ };
+}