No description
- Alacritty: auto-attach to tmux session on launch - tmux: full config with pane/window styling, TPM, and keybindings - bash: add Powerline-style git-aware prompt via dotfiles/bash_prompt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016fnKHtb2XA4Y5Pcxc1qpC2 |
||
|---|---|---|
| dotfiles | ||
| configuration.nix | ||
| flake.lock | ||
| flake.nix | ||
| home.nix | ||
| README.md | ||
My NixOS configuration
Running on a new machine
- Install NixOS
- Generate configuration files by running
nixos-generate-config - Add git to configuration.nix's environment.systemPackages
- Add flakes support by appending
nix.settings.experimental-features = ["nix-command" "flakes"]; - Rebuild
nixos-rebuild switch - Clone this repo to your destination of choice (I go with ~/.dotfiles for the time being)
- Switch to the current version
nixos-rebuild switch --flake . --impure(Impure, because we do not provide hardware configuration, since it is machine dependant)
Home Manager is included as a NixOS module, so nixos-rebuild applies both the
system and the user configuration. There is no separate home-manager switch
step, and no home-manager channel is needed.