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