nix-config
nix-config copied to clipboard
nix-config
My personal NixOS and Home Manager configurations.
Tooling
- NixOS - System Configuration
- Home Manager - Home Configuration
- sops-nix - Secret Management
- stylix - Color Schemes
- nix-podman-stacks - Preconfigured Podman Stacks
Bootstrap
Drop into devshell:
nix develop github:Tarow/nix-config
Clone repository:
git clone https://github.com/Tarow/nix-config.git ~/nix-config && cd ~/nix-config
Manually restore SSH private key and use it to generate age key used by sops-nix.
mkdir -p ~/.config/sops/age && ssh-to-age -private-key -i ~/.ssh/id_ed25519 -o ~/.config/sops/age/keys.txt
Install System Configuration:
nixos-rebuild switch --flake .#<host>
Install Home Configuration:
home-manager switch -b bak --flake .#<host>