nixos-config/home/default.nix
2022-11-27 23:21:09 +01:00

37 lines
713 B
Nix

{config, ...}: {
imports = [
./alacritty.nix
./bat.nix
./emacs.nix
./env.nix
./firefox.nix
./fish
./flameshot.nix
./git.nix
./gtk.nix
./laptop.nix
./lorri.nix
./mail.nix
./rbw.nix
./rofi.nix
./ssh.nix
./themes
./tmux.nix
./tridactyl.nix
./x
];
home.stateVersion = "21.05";
home.username = "alarsyo";
home.sessionVariables = let
gpgPackage = config.programs.gpg.package;
in {
BROWSER = "firefox";
# FIXME: only set if gpg-agent not in use, otherwise home manager already does that
SSH_AUTH_SOCK = "$(${gpgPackage}/bin/gpgconf --list-dirs agent-ssh-socket)";
XDG_DATA_HOME = "$HOME/.local/share";
};
}