I would like to reorganize my nixos configuration without changing its content to ensure this i would compare its hash.
To do so efficiently i wonder if there is a faster/cheaper way to do so then nixos-rebuild build
1 Like
nixos-instantiate --eval -I nixos-config=<path to configuration.nix> '<nixpkgs/nixos>' -A config.system.build.toplevel.drvPath
1 Like
thank you. guess you wanted to write:
nix-instantiate --eval -I nixos-config=<path to configuration.nix> '<nixpkgs/nixos>' -A config.system.build.toplevel.drvPath
Ah, yeah, indeed !