POC for deploying nixin configurations with krops
Find a file
2024-12-19 11:41:26 +01:00
config Set NIX_PATH to use nixpkgs deployed with krops 2024-12-19 11:41:26 +01:00
modules first version 2024-12-18 22:54:04 +01:00
.gitignore first version 2024-12-18 22:54:04 +01:00
krops.nix do a shallow clone of nixpkgs to save space (476M instead of 5,2G) 2024-12-19 11:31:06 +01:00
nixpkgs.json pre-fetch nixpkgs revision hash 2024-12-19 11:07:32 +01:00
README.md pre-fetch nixpkgs revision hash 2024-12-19 11:07:32 +01:00

Nixin krops POC

This is a proof of concept of using krops to deploy nixos configuration generated by nixin

Tips

Deploy configuration of only one server :
nix-build ./krops.nix -A arachnide && ./result

Deploy configration of all servers :
nix-build ./krops.nix -A all && ./result

Update th revision of nixpkgs that is used :
nix-prefetch-git --url https://github.com/NixOS/nixpkgs --rev "refs/heads/nixos-24.11" > nixpkgs.json

References