forked from colonelpanic/dotfiles
83 lines
2.0 KiB
Nix
83 lines
2.0 KiB
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;
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
iconTheme = {
|
|
package = pkgs.numix-icon-theme-circle;
|
|
name = "Numix-Circle";
|
|
};
|
|
|
|
font = {
|
|
package = pkgs.noto-fonts-emoji;
|
|
name = "Noto Sans";
|
|
size = 10;
|
|
};
|
|
|
|
gtk3.extraConfig = {
|
|
gtk-application-prefer-dark-theme = true;
|
|
gtk-button-images = 1;
|
|
gtk-cursor-theme-name = "breeze_cursors";
|
|
gtk-cursor-theme-size = 24;
|
|
gtk-decoration-layout = "icon:minimize,maximize,close";
|
|
gtk-enable-animations = true;
|
|
gtk-enable-event-sounds = 1;
|
|
gtk-enable-input-feedback-sounds = 1;
|
|
gtk-fallback-icon-theme = "gnome";
|
|
gtk-key-theme-name = "Emacs";
|
|
gtk-menu-images = 1;
|
|
gtk-modules = "colorreload-gtk-module";
|
|
gtk-primary-button-warps-slider = false;
|
|
gtk-theme-name = "Arc";
|
|
gtk-toolbar-icon-size = "GTK_ICON_SIZE_LARGE_TOOLBAR";
|
|
gtk-toolbar-style = "GTK_TOOLBAR_BOTH_HORIZ";
|
|
gtk-xft-antialias = 1;
|
|
gtk-xft-dpi = 98304;
|
|
gtk-xft-hinting = 1;
|
|
gtk-xft-hintstyle = "hintslight";
|
|
gtk-xft-rgba = "rgb";
|
|
};
|
|
};
|
|
}
|