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

• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/b09c46430ffcf18d575acf5c339b38ac4e1db5d2' (2024-08-19)
  → 'github:NixOS/nixos-hardware/1c84c314db42dd40ed6cf9293b9451ec2e7ebee4' (2024-08-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f1bad50880bae73ff2d82fafc22010b4fc097a9c' (2024-08-19)
  → 'github:nixos/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841' (2024-08-22)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/8a3354191c0d7144db9756a74755672387b702ba' (2024-08-18)
  → 'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/1064a45e81a4e19cda98741b71219d9f4f136900' (2024-08-20)
  → 'github:cachix/pre-commit-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b' (2024-08-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
  → 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
2024-08-24 18:24:22 -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-24 18:24:22 -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.