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

• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/392828aafbed62a6ea6ccab13728df2e67481805' (2024-08-18)
  → 'github:nix-community/nix-index-database/e333d62b70b179da1dd78d94315e8a390f2d12e5' (2024-08-25)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/1c84c314db42dd40ed6cf9293b9451ec2e7ebee4' (2024-08-24)
  → 'github:NixOS/nixos-hardware/95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef' (2024-08-28)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841' (2024-08-22)
  → 'github:nixos/nixpkgs/36bae45077667aff5720e5b3f1a5458f51cf0776' (2024-08-27)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
  → 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2' (2024-08-28)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b' (2024-08-23)
  → 'github:cachix/pre-commit-hooks.nix/4509ca64f1084e73bc7a721b20c669a8d4c5ebe6' (2024-08-28)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
  → 'github:numtide/treefmt-nix/3ffd842a5f50f435d3e603312eefa4790db46af5' (2024-08-28)
2024-08-29 23:19:58 -05:00
bin add SOPS, etc. 2024-05-14 01:01:59 -05:00
home-manager new rice 2024-08-10 02:17:24 -05:00
nixos new rice 2024-08-10 02:17:24 -05:00
secrets add SOPS, etc. 2024-05-14 01:01:59 -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 add SOPS, etc. 2024-05-14 01:01:59 -05:00
flake.lock flake.lock: Update 2024-08-29 23:19:58 -05:00
flake.nix new rice 2024-08-10 02:17:24 -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.