Personal dotfiles for setting up a workable environment.
First:
nix flake lockFor macOS:
sudo darwin-rebuild switch --flake .#<host>For NixOS:
sudo nixos-rebuild switch --flake .#<host>Fresh install steps (EFI, LUKS+btrfs assumed):
- On the target machine after partitioning/mounting:
nixos-generate-config --show-hardware-config > nix/nixos/hosts/desktop/hardware-configuration.nix - Copy this repo to the machine (or mount it) and run:
sudo nixos-install --flake .#desktop - After edits:
sudo nixos-rebuild switch --flake .#desktop - Quick sanity:
nix flake checkornix eval .#nixosConfigurations.desktop.config.system.stateVersion
Notes:
- Hyprland enabled via
programs.hyprlandwith greetd autologin to userarne. - NVIDIA proprietary driver with 32-bit OpenGL for Steam/Proton.
- Gaming tools: Steam (gamescope session), Gamemode, ProtonUp-Qt, Heroic, Lutris, Wine.
- Berkeley Mono (private): copy all
.otffiles to/etc/nixos/private/fonts/berkeley-mono/on the machine. The configuration will map them intofonts/local/if that directory exists. Ghostty and fontconfig default toBerkeley Monowhen present. For macOS/air, drop the.otffiles into~/.local/share/fonts/berkeley-mono/(gitignored/local).