nix config
Find a file
iofq 825eaefd98 flake.lock: Update
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'
2024-09-06 02:54:56 -05:00
bin add SOPS, etc. 2024-05-14 01:01:59 -05:00
home-manager swap 2024-09-04 23:32:01 -05:00
nixos swap 2024-09-04 23:32:01 -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-09-06 02:54:56 -05:00
flake.nix swap 2024-09-04 23:32:01 -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.