No description
Replace config.user.{name,email} with userName/userEmail and settings.alias with aliases.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018D8GH3ssjrRwCLuwXMxsBE
|
||
|---|---|---|
| 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.