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

56 lines
2.1 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
2018-10-21 21:28:52 +00:00
{
users.users.makefu.packages = with pkgs;[ bat direnv clipit ];
2018-09-19 00:52:58 +00:00
home-manager.users.makefu = {
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;
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;
2019-02-05 21:32:28 +00:00
services.flameshot.enable = true;
home.file.".config/Dharkael/flameshot.ini".text = ''
[General]
disabledTrayIcon=false
drawColor=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\xff\xff\0\0)
drawThickness=0
filenamePattern=%F_%T_shot
'';
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=/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
};
};
}