nixos/hosts/snowhawk/home.nix

139 lines
2.6 KiB
Nix
Raw Normal View History

2024-11-24 16:08:59 -08:00
{ pkgs, config, ... }:
2024-02-26 01:14:08 -08:00
{
2024-02-28 20:43:07 -08:00
imports = [
2024-07-08 17:50:19 -07:00
../../home/modules
2024-02-28 20:43:07 -08:00
];
2024-07-07 15:41:47 -07:00
snowhawk = {
2024-08-29 20:27:56 -07:00
# Desktop
2024-11-03 18:37:38 -08:00
firefox.enable = true;
2024-07-07 15:41:47 -07:00
dunst.enable = true;
2024-08-29 20:27:56 -07:00
theme.enable = true;
2024-07-24 00:34:52 -07:00
redshift.enable = true;
2024-07-30 23:09:02 -07:00
flameshot.enable = true;
2024-08-29 20:27:56 -07:00
playerctl.enable = true;
2024-11-23 16:04:14 -08:00
kitty.enable = true;
2024-08-29 20:27:56 -07:00
defaultPrograms.enable = true;
2024-09-27 22:28:02 -07:00
pipewire-controller.enable = true;
2024-08-29 20:27:56 -07:00
# Games
2024-11-24 16:08:59 -08:00
lutris.enable = true;
2024-08-29 20:27:56 -07:00
xivlauncher.enable = true;
# Term Tools
neovim.enable = true;
2024-08-01 23:30:06 -07:00
tldr.enable = true;
2024-08-29 20:27:56 -07:00
# Dev
2024-08-28 17:15:36 -07:00
rust.enable = true;
2024-08-29 20:27:56 -07:00
projects.enable = true;
sources.enable = true;
# Security
sops.enable = true;
rbw.enable = true;
2024-07-07 15:41:47 -07:00
};
2024-08-29 20:27:56 -07:00
2024-10-01 22:15:33 -07:00
sops.secrets."app_urls/nh_slack" = { };
2024-10-06 06:47:27 -07:00
snowhawk.brave-apps = {
enable = true;
apps = {
github.url = "https://github.com";
zgit.url = "https://git.zynh.me";
2024-10-23 16:06:41 -07:00
gmail.url = "https://mail.google.com/mail/u/0";
2024-10-08 14:15:00 -07:00
calendar.url = "https://calendar.google.com/calendar/u/0/r";
2024-10-06 06:47:27 -07:00
slack_nh.urlFile = config.sops.secrets."app_urls/nh_slack".path;
};
};
2024-10-01 22:15:33 -07:00
2024-07-11 05:19:07 -07:00
snowhawk.ssh = {
enable = true;
homeNetwork = true;
};
2024-05-29 20:31:14 -07:00
2024-10-19 13:16:38 -07:00
snowhawk.tmux.sessionizer.paths = [
"~/obsidian"
];
2024-11-24 16:08:59 -08:00
home.packages = with pkgs; [
2024-11-12 08:14:31 -08:00
# (writeShellScriptBin "battlenet" ''
# export WINEARCH=win64
# export WINEPREFIX=$HOME/.wine-battlenet
# wine64 ~/.wine-battlenet/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net\ Launcher.exe
# '')
2024-10-23 16:05:45 -07:00
(wineWowPackages.full.override {
wineRelease = "staging";
mingwSupport = true;
})
winetricks
2024-11-05 18:08:31 -08:00
r2modman
2024-10-23 16:05:45 -07:00
2024-11-12 08:14:31 -08:00
wowup-cf
2024-10-26 15:33:20 -07:00
(writeShellScriptBin "fix-desktop" ''
systemctl --user restart xrootdatetime.service
systemctl --user restart fehbg.service
'')
ripgrep
unzip
fzf
tree
gparted
arandr
spotify
2024-09-27 09:17:41 -07:00
vesktop
2024-09-27 23:39:09 -07:00
(writeShellScriptBin "discord" ''
2024-10-06 06:50:45 -07:00
${lib.getExe vesktop} $@
2024-09-27 23:39:09 -07:00
'')
steam-run
2024-06-28 19:25:07 -07:00
nix-output-monitor
2024-06-26 02:29:05 -07:00
(writeShellScriptBin "rebuild" ''
2024-10-06 08:21:09 -07:00
nixos-rebuild switch --log-format internal-json -v $@ |& nom --json
2024-06-26 02:29:05 -07:00
'')
2024-07-10 01:34:14 -07:00
(writeShellScriptBin "suspend" ''
systemctl suspend
'')
2024-11-22 09:00:03 -08:00
(writeShellScriptBin "reboot-windows" ''
sudo ${pkgs.grub2}/bin/grub-reboot "Windows Boot Manager (on /dev/nvme0n1p1)"
sudo reboot
'')
2024-06-26 02:21:33 -07:00
feh
2024-06-27 15:21:15 -07:00
imagemagick
2024-06-30 01:26:45 -07:00
uhk-agent
2024-06-30 01:43:05 -07:00
pulsemixer
2024-06-30 02:01:47 -07:00
2024-06-30 13:58:42 -07:00
obsidian
2024-07-05 10:29:24 -07:00
steam
2024-06-30 13:58:42 -07:00
2024-06-30 02:01:47 -07:00
# Build Tools
gnumake
zig
gcc
go
python3
nodejs_22
2024-10-15 15:17:34 -07:00
dotnet-sdk_8
2024-07-24 20:48:29 -07:00
2024-10-07 23:41:18 -07:00
qdirstat
2024-07-24 20:48:29 -07:00
pcmanfm
2024-09-30 23:49:03 -07:00
geeqie
2024-02-26 01:14:08 -08:00
];
2024-10-01 18:41:01 -07:00
programs.nix-index.enable = true;
2024-02-26 01:14:08 -08:00
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
2024-05-29 23:57:51 -07:00
home.stateVersion = "23.11";
2024-02-26 01:14:08 -08:00
}
2024-06-30 09:51:57 -07:00