nix config
|
Some checks failed
/ check (push) Failing after 10m2s
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/4067ca1ffb6425b8597eafb63a84b171e0192d2b?narHash=sha256-Ok0jocJ82JriaMDtYEytR8oWcxADlX5WcWXULrN4czA%3D' (2025-12-27)
→ 'github:nix-community/home-manager/d2e0458d6531885600b346e161c38790dc356fa8?narHash=sha256-JR7A2xS3EBPWFeONzhqez5vp7nKEsp7eLj2Ks210Srk%3D' (2025-12-28)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/9836912e37aef546029e48c8749834735a6b9dad?narHash=sha256-BOKCwOQQIP4p9z8DasT5r%2Bqjri3x7sPCOq%2BFTjY8Z%2Bo%3D' (2025-12-21)
→ 'github:Mic92/sops-nix/61b39c7b657081c2adc91b75dd3ad8a91d6f07a7?narHash=sha256-pn8AxxfajqyR/Dmr1wnZYdUXHgM3u6z9x0Z1Ijmz2UQ%3D' (2025-12-28)
|
||
|---|---|---|
| .forgejo/workflows | ||
| clusters/lab | ||
| home-manager | ||
| nixos | ||
| pkgs | ||
| secrets | ||
| terraform | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| fleet.nix | ||
| README.md | ||
| treefmt.nix | ||
Nix config including NixOS, home-manager and infrastructure using deploy-rs
Starting
nix develop "github:iofq/nix"
Nixos
Building for local machine
nixos-rebuild switch --flake .#name
Building remote hosts
nixos-rebuild switch --flake .#name --target-host host
Building remote hosts using deploy-rs
nix develop
deploy .
Home-manager
home-manager switch --flake "github:iofq/nix#t14"
Developing
direnv allow
nix fmt
Direnv will also set up git pre-commit hooks to format the repo automatically.