2020-07-02 08:34:51 +02:00
|
|
|
{ pkgs, lib, config, ... }:
|
2018-10-21 23:28:52 +02:00
|
|
|
|
|
|
|
{
|
2020-07-02 08:34:51 +02:00
|
|
|
|
2019-01-22 09:02:54 +01:00
|
|
|
users.users.makefu.packages = with pkgs;[ bat direnv clipit ];
|
2018-09-19 02:52:58 +02:00
|
|
|
home-manager.users.makefu = {
|
2020-07-02 08:34:51 +02:00
|
|
|
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"
|
|
|
|
];
|
2019-01-22 09:02:54 +01: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 02:52:58 +02:00
|
|
|
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
|
2019-04-17 21:44:00 +02:00
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2018-12-31 10:08:11 +01:00
|
|
|
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 = {
|
2019-01-22 09:02:54 +01: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 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
|
|
|
};
|
|
|
|
}
|