18 lines
410 B
Nix
18 lines
410 B
Nix
# todo: rename this module
|
|
# stuff that does actual configuring (so can't be in ./module.nix) but works in nixos module, home-manager modules, and nix-on-droid modules
|
|
{
|
|
inputs,
|
|
vacuModuleType,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
lib.optionalAttrs (vacuModuleType != "plain") {
|
|
nix.registry = lib.mkIf (!config.vacu.isMinimal) {
|
|
vacu.to = {
|
|
type = "path";
|
|
path = inputs.self.outPath;
|
|
};
|
|
};
|
|
}
|