forked from colonelpanic/dotfiles
47 lines
1016 B
Nix
47 lines
1016 B
Nix
{ pkgs, config, specialArgs, ... }:
|
|
{
|
|
xsession = {
|
|
enable = true;
|
|
preferStatusNotifierItems = true;
|
|
importedVariables = [ "GDK_PIXBUF_ICON_LOADER" ];
|
|
};
|
|
|
|
home.keyboard = null;
|
|
home.emptyActivationPath = false;
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.ssh = {
|
|
forwardAgent = true;
|
|
};
|
|
|
|
programs.gpg.package = pkgs.gnupg_2_4_0;
|
|
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
defaultCacheTtl = 8 * 60 * 60;
|
|
maxCacheTtl = 8 * 60 * 60;
|
|
enableSshSupport = true;
|
|
pinentryFlavor = "qt";
|
|
extraConfig = ''
|
|
allow-emacs-pinentry
|
|
allow-loopback-pinentry
|
|
'';
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
}
|