nixos-config/home/default.nix

35 lines
682 B
Nix
Raw Normal View History

2022-11-15 00:37:38 +01:00
{config, ...}: {
2021-04-19 14:29:38 +02:00
imports = [
2021-04-22 00:25:39 +02:00
./alacritty.nix
2021-07-29 00:07:33 +02:00
./bat.nix
./emacs.nix
2021-04-23 22:05:27 +02:00
./env.nix
2021-07-29 12:17:41 +02:00
./firefox.nix
./fish
2021-04-19 15:51:50 +02:00
./flameshot.nix
2021-07-29 11:07:14 +02:00
./git.nix
2022-04-20 11:57:50 +02:00
./gtk.nix
2021-07-24 02:18:15 +02:00
./laptop.nix
2024-03-04 19:21:23 +01:00
./direnv.nix
2022-04-09 21:35:15 +02:00
./mail.nix
2022-04-09 22:23:25 +02:00
./rbw.nix
2021-07-29 11:17:22 +02:00
./rofi.nix
2021-07-29 11:31:21 +02:00
./ssh.nix
2021-04-21 04:05:19 +02:00
./themes
2021-04-19 18:59:24 +02:00
./tmux.nix
2021-07-29 12:17:41 +02:00
./tridactyl.nix
2021-04-19 14:29:38 +02:00
./x
];
2021-04-19 13:42:29 +02:00
home.username = "alarsyo";
2022-11-15 00:37:38 +01:00
home.sessionVariables = let
gpgPackage = config.programs.gpg.package;
in {
BROWSER = "firefox";
2022-11-15 00:37:38 +01:00
# 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";
};
2021-04-19 13:42:29 +02:00
}