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

• Updated input 'home-manager':
    'github:nix-community/home-manager/2b13611eaed8326789f76f70d21d06fbb14e3e47' (2024-10-11)
  → 'github:nix-community/home-manager/93435d27d250fa986bfec6b2ff263161ff8288cb' (2024-10-25)
• Updated input 'nix-index-database':
    'github:nix-community/nix-index-database/5fce10c871bab6d7d5ac9e5e7efbb3a2783f5259' (2024-10-07)
  → 'github:nix-community/nix-index-database/04f8a11f247ba00263b060fbcdc95484fd046104' (2024-10-20)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ecfcd787f373f43307d764762e139a7cdeb9c22b' (2024-10-07)
  → 'github:NixOS/nixos-hardware/e8a2f6d5513fe7b7d15701b2d05404ffdc3b6dda' (2024-10-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7' (2024-10-09)
  → 'github:nixos/nixpkgs/2768c7d042a37de65bb1b5b3268fc987e534c49d' (2024-10-23)
• Updated input 'nixpkgs-stable':
    'github:nixos/nixpkgs/4eb33fe664af7b41a4c446f87d20c9a0a6321fa3' (2024-10-17)
  → 'github:nixos/nixpkgs/32e940c7c420600ef0d1ef396dc63b04ee9cad37' (2024-10-23)
• Updated input 'nvim':
    'github:iofq/nvim.nix/cee522f27d345337bc89a1282b199a6cd7f9be4e' (2024-09-07)
  → 'github:iofq/nvim.nix/bd5ef0df29cbbae1628db159ecb53a366f53eb5c' (2024-10-14)
• Updated input 'nvim/flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/06bb5971c139959d9a951f34e4264d32f5d998e7' (2024-10-11)
  → 'github:cachix/pre-commit-hooks.nix/3c3e88f0f544d6bb54329832616af7eb971b6be6' (2024-10-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08)
  → 'github:Mic92/sops-nix/b2211d1a537136cc1d0d5c0af391e8712016b34e' (2024-10-26)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/17ae88b569bb15590549ff478bab6494dde4a907' (2024-10-05)
  → 'github:NixOS/nixpkgs/bb8c2cf7ea0dd2e18a52746b2c3a5b0c73b93c22' (2024-10-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
  → 'github:numtide/treefmt-nix/aac86347fb5063960eccb19493e0cadcdb4205ca' (2024-10-22)
2024-10-26 12:28:40 -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 12:28:40 -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.