nixos/hosts/snowhawk/home.nix

114 lines
1.9 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;
};
home.packages = with pkgs; [
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";
}