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

64 lines
2.3 KiB
Nix
Raw Normal View History

{ pkgs, lib, config, ... }:
2018-10-21 23:28:52 +02:00
{
users.users.makefu.packages = with pkgs;[ bat direnv clipit ];
2018-09-19 02:52:58 +02:00
home-manager.users.makefu = {
systemd.user.services.flameshot.Service.Environment = lib.mkForce [
"IMGUR_CREATE_URL=https://p.krebsco.de/image"
"IMGUR_DELETE_URL=https://p.krebsco.de/image/delete/%%1"
"PATH=${config.home-manager.users.makefu.home.profileDirectory}/bin"
];
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 02:52:58 +02:00
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
2019-04-17 21:44:00 +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;
2019-02-05 22:32:28 +01: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 23:28:52 +02:00
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 = {
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 23:28:52 +02:00
ExecStart = "${pkgs.clipit}/bin/clipit";
Restart = "on-abort";
};
2018-09-19 02:52:58 +02:00
};
2021-10-01 18:43:39 +02:00
programs.beets.enable = true;
2018-09-19 02:52:58 +02:00
};
}