nix config
Find a file
iofq 1b2dad4445 flake.lock: Update
Flake lock file updates:

• Updated input 'nvim':
    'github:iofq/nvim.nix/bd5ef0df29cbbae1628db159ecb53a366f53eb5c?narHash=sha256-jWQ19ubEaPVa6ctVwjk1Z6a71SgiixO97O7bUnDrYu4%3D' (2024-10-14)
  → 'github:iofq/nvim.nix/96e970b31dd5ce48258f474b353ef4aa4e6d5a43?narHash=sha256-/6HU76oLV7o6COiA2KkCLXKMstvDd8HHVtu1tdRcEv8%3D' (2024-10-26)
2024-10-26 15:51:05 -05:00
bin add SOPS, etc. 2024-05-14 01:01:59 -05:00
home-manager add homelab, nc 2024-10-19 13:15:43 -05:00
nixos add homelab, nc 2024-10-19 13:15:43 -05:00
secrets update con 2024-09-08 13:41:16 -05:00
.envrc gigalint everything 2024-01-28 17:45:31 -06:00
.gitignore gigalint everything 2024-01-28 17:45:31 -06:00
.sops.yaml update con 2024-09-08 13:41:16 -05:00
flake.lock flake.lock: Update 2024-10-26 15:51:05 -05:00
flake.nix add homelab, nc 2024-10-19 13:15:43 -05:00
README.md Update README 2024-01-28 18:00:06 -06:00
treefmt.nix gigalint everything 2024-01-28 17:45:31 -06:00

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.