dotfiles/nixos/home.nix

44 lines
965 B
Nix
Raw Normal View History

2022-04-29 02:43:50 +00:00
{ pkgs, lib, user, ... }: {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
2022-04-29 01:23:43 +00:00
home-manager.users.${user} = {
2021-08-09 12:19:21 +00:00
2022-04-28 22:55:15 +00:00
home.packages = with pkgs; [
# neomutt
himalaya # Email
qbittorrent
# Encryption
gnupg
pass
];
home.sessionVariables = {
2022-04-29 00:54:37 +00:00
NIXOS_CONFIG = builtins.toString ./.;
DOTS = builtins.toString ../.;
2022-04-29 02:43:50 +00:00
NOTES_PATH = "$HOME/dev/personal/notes";
2022-04-28 22:55:15 +00:00
};
2022-01-22 19:01:32 +00:00
2022-04-28 22:55:15 +00:00
# Email
# programs.himalaya = {
# enable = true;
# settings = {
# name = "${name}";
# downloads-dir = "~/Downloads";
# home = {
# default = true;
# email = "censored";
# imap-host = "censored";
# imap-port = 993;
# imap-login = "censored";
# imap-passwd-cmd = "cat ~/.config/himalaya/passwd";
# smtp-host = "censored";
# smtp-port = 587;
# smtp-login = "censored";
# smtp-passwd-cmd = "cat ~/.config/himalaya/passwd";
# };
# };
# };
2022-01-13 14:39:48 +00:00
};
2021-08-09 12:19:21 +00:00
}