nix config
Flake lock file updates:
• Updated input 'nvim':
'github:iofq/nvim.nix/6d8480b8b5f5054a34ab15e45fae99b216162814' (2024-08-22)
→ 'github:iofq/nvim.nix/6831ace58929a09ffe33856f8a0e238a73ae36d2' (2024-09-06)
• Removed input 'nvim/nvim-early-retirement'
• Removed input 'nvim/snipe-nvim'
|
||
|---|---|---|
| bin | ||
| home-manager | ||
| nixos | ||
| secrets | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.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.