Try new way of importing module
This commit is contained in:
parent
551df1b66f
commit
e8c4dbdb8b
|
@ -41,7 +41,10 @@
|
||||||
nativeBuildInputs = [ cargo clang ];
|
nativeBuildInputs = [ cargo clang ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules.${productName} = import [ ./module.nix ];
|
# nixosModules.${productName} = import [ ./module.nix ];
|
||||||
nixosModules.default = nixosModules.${productName};
|
# nixosModules.default = nixosModules.${productName};
|
||||||
|
nixosModules.default = { config, pkgs, lib, ... }: {
|
||||||
|
imports = [ ./module.nix ];
|
||||||
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user