project: set system registry with flake inputs

This commit is contained in:
Gabriel Arazas 2023-11-13 21:56:13 +08:00
parent 0e0426120a
commit 934ecd0bd5
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -11,6 +11,9 @@
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem { nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
({ config, lib, ... }: {
nix.registry = lib.mapAttrs (_: flake: { inherit flake; }) inputs;
})
./hosts/desktop ./hosts/desktop
]; ];
}; };