nix/system/zenix/home.nix
2023-04-19 19:38:08 +01:00

80 lines
1.9 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; [
gimp
nextcloud-client
godot_4
ardour
blender
musescore
ansible
handbrake
];
services.nextcloud-client.enable = true;
services.nextcloud-client.startInBackground = true;
programs.git = {
userName = "tristan";
userEmail = "tristan@tristans.cloud";
};
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;
wayland.windowManager.hyprland = {
extraConfig = ''
exec-once = ${ pkgs.swaybg }/bin/swaybg -o DP-1 -i ~/Pictures/backgrounds/demonslayer.jpg -o HDMI-A-1 -i ~/Pictures/backgrounds/nier.jpg &
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
bind = SUPER_SHIFT, X, killactive,
'';
};
}