2018-12-31 09:08:11 +00:00
|
|
|
{ pkgs, lib, ... }:
|
2018-10-21 21:28:52 +00:00
|
|
|
|
|
|
|
{
|
2019-01-22 08:02:54 +00:00
|
|
|
users.users.makefu.packages = with pkgs;[ bat direnv clipit ];
|
2018-09-19 00:52:58 +00:00
|
|
|
home-manager.users.makefu = {
|
2019-01-22 08:02:54 +00:00
|
|
|
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'';
|
2018-09-19 00:52:58 +00:00
|
|
|
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
|
2018-10-21 21:28:52 +00:00
|
|
|
programs.firefox.enable = true;
|
2018-12-31 09:08:11 +00:00
|
|
|
programs.obs-studio.enable = true;
|
|
|
|
xdg.enable = true;
|
2018-09-19 00:52:58 +00:00
|
|
|
services.network-manager-applet.enable = true;
|
|
|
|
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 = {
|
2019-01-22 08:02:54 +00:00
|
|
|
Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.clipit}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
|
2018-10-21 21:28:52 +00:00
|
|
|
ExecStart = "${pkgs.clipit}/bin/clipit";
|
|
|
|
Restart = "on-abort";
|
|
|
|
};
|
2018-09-19 00:52:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|