nix config
Flake lock file updates:
• Updated input 'deploy-rs':
'github:serokell/deploy-rs/b3ea6f333f9057b77efd9091119ba67089399ced' (2024-05-14)
→ 'github:serokell/deploy-rs/3867348fa92bc892eba5d9ddb2d7a97b9e127a8a' (2024-06-12)
• Updated input 'home-manager':
'github:nix-community/home-manager/0eb314b4f0ba337e88123e0b1e57ef58346aafd9' (2024-05-30)
→ 'github:nix-community/home-manager/afc892db74d65042031a093adb6010c4c3378422' (2024-08-02)
• Updated input 'nix-index-database':
'github:nix-community/nix-index-database/ff80cb4a11bb87f3ce8459be6f16a25ac86eb2ac' (2024-05-27)
→ 'github:nix-community/nix-index-database/97ca0a0fca0391de835f57e44f369a283e37890f' (2024-08-04)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/8251761f93d6f5b91cee45ac09edb6e382641009' (2024-05-29)
→ 'github:NixOS/nixos-hardware/14c333162ba53c02853add87a0000cbd7aa230c2' (2024-07-30)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b' (2024-05-29)
→ 'github:nixos/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da' (2024-08-02)
• Updated input 'nvim':
'github:iofq/nvim.nix/50ac04fdb917dc701c8c23096560b217c75d49fa' (2024-04-14)
→ 'github:iofq/nvim.nix/62b7e838d9313eee44289b683f074dac225306d1' (2024-07-27)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0' (2024-05-20)
→ 'github:cachix/pre-commit-hooks.nix/f451c19376071a90d8c58ab1a953c6e9840527fd' (2024-07-15)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3' (2024-03-17)
→ 'github:NixOS/nixpkgs/194846768975b7ad2c4988bdb82572c00222c0d7' (2024-07-07)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26)
→ 'github:Mic92/sops-nix/eb34eb588132d653e4c4925d862f1e5a227cc2ab' (2024-07-27)
• Updated input 'sops-nix/nixpkgs-stable':
'github:NixOS/nixpkgs/59a450646ec8ee0397f5fa54a08573e8240eb91f' (2024-05-25)
→ 'github:NixOS/nixpkgs/556533a23879fc7e5f98dd2e0b31a6911a213171' (2024-07-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/52b66cade760e93276146eb057122b8011ab9057' (2024-05-30)
→ 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7' (2024-07-30)
|
||
|---|---|---|
| bin | ||
| home-manager | ||
| nixos | ||
| secrets | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| overlay.nix | ||
| README.md | ||
| treefmt.nix | ||
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.