diff options
author | Naïm Favier <n@monade.li> | 2022-12-02 13:39:47 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-12-02 14:15:24 +0100 |
commit | e8927c46b8693b1d0b1d6e12cd602c6647217d3a (patch) | |
tree | f742957d53cbcbdee782de8966dadde425d21001 /nixos/modules/virtualisation | |
parent | 3dc19ce82d5a435ff63a2d8771aaf4a8243f0c0f (diff) |
nixos/doc: document `mkOrder` and friends
Add a section on ordering option definitions. Also mention `mkDefault` in the section on `mkOverride`. Clarify the code a bit by renaming `defaultPriority` to `defaultOverridePriority` and introducing `defaultOrderPriority`.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 9af7e07ccfbab..eae898a08a69c 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -806,7 +806,7 @@ in optional ( cfg.writableStore && cfg.useNixStoreImage && - opt.writableStore.highestPrio > lib.modules.defaultPriority) + opt.writableStore.highestPrio > lib.modules.defaultOverridePriority) '' You have enabled ${opt.useNixStoreImage} = true, without setting ${opt.writableStore} = false. |