2021-07-18 20:20:00 -06:00
|
|
|
{ pkgs, config, ... }: {
|
2021-07-13 03:37:03 -06:00
|
|
|
xsession = {
|
2021-07-13 10:47:09 -06:00
|
|
|
enable = true;
|
2021-07-13 03:37:03 -06:00
|
|
|
preferStatusNotifierItems = true;
|
2021-07-19 22:01:28 -06:00
|
|
|
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
2021-07-13 03:37:03 -06:00
|
|
|
};
|
2021-07-13 10:47:09 -06:00
|
|
|
|
2021-08-02 06:13:16 -06:00
|
|
|
home.keyboard = null;
|
2021-07-13 03:37:03 -06:00
|
|
|
home.emptyActivationPath = false;
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
programs.ssh = {
|
|
|
|
forwardAgent = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# programs.zsh = {
|
|
|
|
# enable = true;
|
|
|
|
# };
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 8 * 60 * 60;
|
|
|
|
maxCacheTtl = 8 * 60 * 60;
|
|
|
|
enableSshSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.blueman-applet = {
|
2021-07-15 21:24:38 -06:00
|
|
|
enable = false;
|
2021-07-13 03:37:03 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
services.taffybar = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.haskellPackages.imalison-taffybar;
|
|
|
|
};
|
|
|
|
|
2021-07-18 20:19:06 -06:00
|
|
|
services.notify-osd = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.notify-osd-customizable;
|
|
|
|
};
|
2021-07-13 03:37:03 -06:00
|
|
|
# skippyxd
|
|
|
|
|
|
|
|
services.kdeconnect = {
|
|
|
|
enable = true;
|
|
|
|
indicator = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.network-manager-applet.enable = true;
|
|
|
|
|
|
|
|
services.udiskie = {
|
|
|
|
enable = true;
|
|
|
|
tray = "always";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.status-notifier-watcher.enable = true;
|
|
|
|
|
|
|
|
services.random-background = {
|
|
|
|
enable = true;
|
2021-08-09 03:40:36 -06:00
|
|
|
display = "scale";
|
2021-07-13 03:37:03 -06:00
|
|
|
interval = "1h";
|
|
|
|
imageDirectory = "%h/Pictures/wallpaper/use";
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xsettingsd.enable = true;
|
2021-07-14 20:42:35 -06:00
|
|
|
|
|
|
|
services.volnoti.enable = true;
|
|
|
|
|
2021-08-03 11:32:37 -06:00
|
|
|
services.parcellite = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.clipit;
|
|
|
|
};
|
|
|
|
|
2021-07-14 20:42:35 -06:00
|
|
|
services.git-sync = {
|
|
|
|
enable = true;
|
|
|
|
repositories = [
|
|
|
|
{
|
|
|
|
name = "config";
|
|
|
|
path = "/home/imalison/config";
|
2021-07-18 09:50:45 -06:00
|
|
|
uri = "git@github.com:IvanMalison/config.git";
|
2021-07-14 20:42:35 -06:00
|
|
|
}
|
|
|
|
{
|
|
|
|
name = "org";
|
|
|
|
path = "/home/imalison/org";
|
2021-07-18 09:50:45 -06:00
|
|
|
uri = "git@github.com:IvanMalison/org.git";
|
2021-07-14 20:42:35 -06:00
|
|
|
}
|
2021-07-15 16:02:40 -06:00
|
|
|
{
|
|
|
|
name = "password-store";
|
|
|
|
path = "/home/imalison/.password-store";
|
|
|
|
uri = "git@github.com:IvanMalison/.password-store.git";
|
|
|
|
}
|
2021-07-14 20:42:35 -06:00
|
|
|
];
|
|
|
|
};
|
2021-07-18 20:20:00 -06:00
|
|
|
|
2021-08-02 06:13:16 -06:00
|
|
|
systemd.user.services.setxkbmap = {
|
|
|
|
Unit = {
|
|
|
|
Description = "Set up keyboard in X";
|
|
|
|
After = [ "graphical-session-pre.target" ];
|
|
|
|
PartOf = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
|
|
|
|
|
|
Service = {
|
|
|
|
Type = "oneshot";
|
|
|
|
RemainAfterExit = true;
|
|
|
|
ExecStart = "/usr/bin/env load_xkb_map";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-08-13 02:29:06 -06:00
|
|
|
systemd.user.services.notifications-tray-icon = {
|
|
|
|
Unit = {
|
|
|
|
Description = "Notifications tray icon";
|
|
|
|
After = [ "graphical-session-pre.target" "tray.target" ];
|
|
|
|
PartOf = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
|
|
|
|
|
|
Service = {
|
2021-08-14 04:27:43 -06:00
|
|
|
ExecStart = "${pkgs.haskellPackages.notifications-tray-icon}/bin/notifications-tray-icon --github-token-pass dfinity-github-api-token";
|
2021-08-13 02:29:06 -06:00
|
|
|
Restart = "always";
|
|
|
|
RestartSec = 3;
|
|
|
|
};
|
|
|
|
};
|
2021-08-02 06:13:16 -06:00
|
|
|
|
2021-07-18 20:20:00 -06:00
|
|
|
systemd.user.services.picom = {
|
|
|
|
Unit = {
|
|
|
|
Description = "Picom X11 compositor";
|
|
|
|
After = [ "graphical-session-pre.target" ];
|
|
|
|
PartOf = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
|
|
|
|
|
|
Service = {
|
2021-08-03 10:09:34 -06:00
|
|
|
ExecStart = "${pkgs.picom}/bin/picom --experimental-backends";
|
2021-07-18 20:20:00 -06:00
|
|
|
Restart = "always";
|
|
|
|
RestartSec = 3;
|
|
|
|
};
|
|
|
|
};
|
2021-07-13 03:37:03 -06:00
|
|
|
}
|