2023-08-20 02:54:19 -06:00
|
|
|
username: { pkgs, config, specialArgs, ... }:
|
|
|
|
{
|
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;
|
|
|
|
};
|
|
|
|
|
2023-08-03 20:47:12 -06:00
|
|
|
programs.gpg.package = pkgs.gnupg_2_4_0;
|
|
|
|
|
2021-07-13 03:37:03 -06:00
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
defaultCacheTtl = 8 * 60 * 60;
|
|
|
|
maxCacheTtl = 8 * 60 * 60;
|
|
|
|
enableSshSupport = true;
|
2023-08-03 20:47:12 -06:00
|
|
|
pinentryFlavor = "gnome3";
|
2021-07-13 03:37:03 -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-07-13 03:37:03 -06:00
|
|
|
}
|