add zenix

This commit is contained in:
tristan 2023-04-15 14:18:25 +01:00
parent 744f70fc87
commit ec99058c4d
2 changed files with 181 additions and 0 deletions

56
system/zenix/home.nix Normal file
View file

@ -0,0 +1,56 @@
{ config, pkgs, user, name, ... }:
# https://nix-community.github.io/home-manager/options.html
{
# don't change
home.stateVersion = "22.05";
home.packages = with pkgs; [
];
programs.git = {
enable = true;
userName = "tristan";
userEmail = "tristan@tristans.cloud";
aliases = {
graph = "log --oneline --all --graph";
amend = "commit --amend --no-edit";
};
};
accounts.email.accounts."tristan@tristans.cloud" = {
notmuch.enable = true;
neomutt.enable = true;
mbsync.enable = true;
mbsync.create = "maildir";
userName = "tristan@tristans.cloud";
realName = "Tristan";
address = "tristan@tristans.cloud";
primary = true;
passwordCommand = "rbw get privateemail";
smtp = {
host = "mail.privateemail.com";
port = 465;
tls.enable = true;
};
imap = {
host = "mail.privateemail.com";
port = 993;
tls.enable = true;
};
};
programs.notmuch.enable = true;
programs.neomutt = {
enable = true;
vimKeys = true;
sort = "reverse-date";
sidebar.enable = true;
};
programs.mbsync.enable = true;
services.mbsync.enable = true;
home.file.".config/hypr/hyprland.conf" = {
source = ./config/hypr.conf;
};
}