stockholm/makefu/2configs/home-manager/desktop.nix

44 lines
1.7 KiB
Nix
Raw Normal View History

2018-10-21 21:28:52 +00:00
{ pkgs, lib, ... }:
{
2018-09-19 00:52:58 +00:00
home-manager.users.makefu = {
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
2018-10-21 21:28:52 +00:00
programs.firefox.enable = true;
2018-09-19 00:52:58 +00:00
services.network-manager-applet.enable = true;
2018-10-21 21:28:52 +00:00
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'';
2018-09-19 00:52:58 +00:00
services.blueman-applet.enable = true;
services.pasystray.enable = true;
2018-10-21 21:28:52 +00:00
systemd.user.services.pasystray.Service.Environment = "PATH=" + (lib.makeBinPath (with pkgs;[ pavucontrol paprefs /* pavumeter */ /* paman */ ]) );
programs.chromium = {
enable = true;
extensions = [
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
"dbepggeogbaibhgnhhndojpepiihcmeb" # vimium
# "liloimnbhkghhdhlamdjipkmadhpcjmn" # krebsgold
"fpnmgdkabkmnadcjpehmlllkndpkmiak" # wayback machine
"gcknhkkoolaabfmlnjonogaaifnjlfnp" # foxyproxy
"abkfbakhjpmblaafnpgjppbmioombali" # memex
"kjacjjdnoddnpbbcjilcajfhhbdhkpgk" # forest
];
2018-09-19 00:52:58 +00:00
};
2018-10-21 21:28:52 +00:00
systemd.user.services.clipit = {
Unit = {
Description = "clipboard manager";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
2018-09-19 00:52:58 +00:00
2018-10-21 21:28:52 +00:00
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";
};
2018-09-19 00:52:58 +00:00
};
};
}