I am batman

This commit is contained in:
2026-07-10 20:07:29 -04:00
commit 4aac54bff6
175 changed files with 18136 additions and 0 deletions

88
hosts/template/home.nix Normal file
View File

@@ -0,0 +1,88 @@
{ config, pkgs, lib, ... }:
{
imports = [
../../modules
];
home.username = "REPLACE_USER";
home.homeDirectory = "/home/REPLACE_USER";
home.stateVersion = "24.11";
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
kitty
screenkey
docker
tree
ffmpeg
tilt
unzip
gimp
ripgrep
fzf
lsd
lazygit
opencode
neofetch
fastfetch
tree
git
nodejs_22
zig
tailwindcss
templ
imagemagick
go-blueprint
protobuf
air
pywal
bat
cava
w3m
nwg-displays
(writeShellScriptBin "protoc-gen-go" ''
export PATH=$HOME/.go/bin:$PATH
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
'')
(writeShellScriptBin "protoc-gen-go-grpc" ''
export PATH=$HOME/.go/bin:$PATH
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
'')
];
home.sessionVariables = {
SHELL = "${pkgs.zsh}/bin/zsh";
};
programs.dircolors.enable = true;
home.file.".p10k.zsh".source = ../../.p10k.zsh;
home.activation.copyScripts =
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
mkdir -p ~/.local/share/bin
rm -rf ~/.local/share/bin/*
cp -r ${../../scripts}/* ~/.local/share/bin/
chmod +x ~/.local/share/bin/*
if [ -x ~/.local/share/bin/tmux-session-manager.sh ] && [ ! -e ~/.local/share/bin/tmux-session-manager ]; then
ln -s ~/.local/share/bin/tmux-session-manager.sh ~/.local/share/bin/tmux-session-manager
fi
'';
home.activation.copyWallpapers =
lib.hm.dag.entryAfter [ "writeBoundary" ] ''
mkdir -p ~/Pictures/wallpapers
rm -rf ~/Pictures/wallpapers/*
cp -r ${../../wallpapers}/* ~/Pictures/wallpapers/
'';
home.file.".config/lsd/colors.yaml".text = ''
date: "white"
user: "white"
group: "white"
# ...any other preferences
'';
}