vmvmvm
This commit is contained in:
@@ -9,20 +9,10 @@
|
|||||||
./lix.nix
|
./lix.nix
|
||||||
./locale-no.nix
|
./locale-no.nix
|
||||||
./upgrade-diff.nix
|
./upgrade-diff.nix
|
||||||
|
./vm-variant.nix
|
||||||
./../ccache
|
./../ccache
|
||||||
./../mounts/common-nfs.nix
|
./../mounts/common-nfs.nix
|
||||||
/* ./profiles/mounts/common-zfs.nix */
|
/* ./profiles/mounts/common-zfs.nix */
|
||||||
|
|
||||||
# TODO: move somewhere smart
|
|
||||||
{
|
|
||||||
options.virtualisation.isVmVariant = lib.mkOption {
|
|
||||||
type = lib.types.bool;
|
|
||||||
default = false;
|
|
||||||
};
|
|
||||||
config.virtualisation.vmVariant = {
|
|
||||||
virtualisation.isVmVariant = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{lib, ... }:
|
||||||
|
{
|
||||||
|
options.virtualisation.isVmVariant = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
config.virtualisation.vmVariant = {
|
||||||
|
virtualisation.isVmVariant = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user