nixos-config/2configs/home-manager/desktop.nix

45 lines
1.4 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2018-10-21 23:28:52 +02:00
{
users.users.makefu.packages = with pkgs;[ bat direnv ];
2018-09-19 02:52:58 +02:00
home-manager.users.makefu = {
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
2018-10-21 23:28:52 +02:00
programs.firefox.enable = true;
programs.obs-studio.enable = true;
xdg.enable = true;
2018-09-19 02:52:58 +02:00
services.network-manager-applet.enable = true;
services.blueman-applet.enable = true;
services.pasystray.enable = true;
2018-10-21 23:28:52 +02: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 02:52:58 +02:00
};
2018-10-21 23:28:52 +02:00
systemd.user.services.clipit = {
Unit = {
Description = "clipboard manager";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
2018-09-19 02:52:58 +02:00
2018-10-21 23:28:52 +02:00
Install = {
WantedBy = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.clipit}/bin/clipit";
Restart = "on-abort";
};
2018-09-19 02:52:58 +02:00
};
};
}