nix/system/zenix/home.nix

75 lines
1.7 KiB
Nix

{ 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;
};
wayland.windowManager.hyprland = {
extraConfig = ''
monitor = DP-1, 1920x1080@144,0x0, 1
monitor = HDMI-A-1, 1920x1080@60, 1920x0,1
workspace = DP-1, 1
workspace = HDMI-A-1, 6
wsbind = 1, DP-1
wsbind = 2, DP-1
wsbind = 3, DP-1
wsbind = 4, DP-1
wsbind = 5, DP-1
wsbind = 6, HDMI-A-1
wsbind = 7, HDMI-A-1
wsbind = 8, HDMI-A-1
wsbind = 9, HDMI-A-1
wsbind = 10,HDMI-A-1
'';
};
}