nixos/hosts/snowhawk/home.nix

131 lines
2.3 KiB
Nix

{ pkgs, config, ... }:
{
imports = [
../../home/modules
];
snowhawk = {
# Desktop
dunst.enable = true;
theme.enable = true;
redshift.enable = true;
flameshot.enable = true;
playerctl.enable = true;
alacritty.enable = true;
defaultPrograms.enable = true;
pipewire-controller.enable = true;
# Games
xivlauncher.enable = true;
# Term Tools
neovim.enable = true;
tldr.enable = true;
# Dev
rust.enable = true;
projects.enable = true;
sources.enable = true;
# Security
sops.enable = true;
rbw.enable = true;
};
sops.secrets."app_urls/nh_slack" = { };
snowhawk.brave-apps = {
enable = true;
apps = {
github.url = "https://github.com";
zgit.url = "https://git.zynh.me";
calendar.url = "https://calendar.google.com/calendar/u/0/r";
slack_nh.urlFile = config.sops.secrets."app_urls/nh_slack".path;
};
};
snowhawk.ssh = {
enable = true;
homeNetwork = true;
};
snowhawk.tmux.sessionizer.paths = [
"~/obsidian"
];
home.packages = with pkgs; [
lutris
(writeShellScriptBin "battlenet" ''
export WINEARCH=win64
export WINEPREFIX=$HOME/.wine-battlenet
wine64 ~/.wine-battlenet/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net\ Launcher.exe
'')
(wineWowPackages.full.override {
wineRelease = "staging";
mingwSupport = true;
})
winetricks
ripgrep
unzip
fzf
tree
gparted
arandr
brave
firefox
spotify
vesktop
(writeShellScriptBin "discord" ''
${lib.getExe vesktop} $@
'')
steam-run
nix-output-monitor
(writeShellScriptBin "rebuild" ''
nixos-rebuild switch --log-format internal-json -v $@ |& nom --json
'')
(writeShellScriptBin "alt-firefox" ''
${lib.getExe pkgs.firefox} -P "alt"
'')
(writeShellScriptBin "suspend" ''
systemctl suspend
'')
feh
imagemagick
uhk-agent
pulsemixer
obsidian
steam
# Build Tools
gnumake
zig
gcc
go
python3
nodejs_22
dotnet-sdk_8
qdirstat
pcmanfm
geeqie
];
programs.nix-index.enable = true;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}