142 lines
2.6 KiB
Nix
142 lines
2.6 KiB
Nix
{ pkgs, config, inputs, ... }:
|
|
|
|
{
|
|
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";
|
|
gmail.url = "https://mail.google.com/mail/u/0";
|
|
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; let
|
|
umu = inputs.umu.packages.${pkgs.system}.umu.override { version = "${inputs.umu.shortRev}"; };
|
|
in
|
|
[
|
|
umu
|
|
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
|
|
|
|
|
|
(writeShellScriptBin "fix-desktop" ''
|
|
systemctl --user restart xrootdatetime.service
|
|
systemctl --user restart fehbg.service
|
|
'')
|
|
|
|
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";
|
|
}
|
|
|