diff options
author | pennae <github@quasiparticle.net> | 2021-11-26 01:16:05 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2021-12-02 22:35:04 +0100 |
commit | 25124556397ba17bfd70297000270de1e6523b0a (patch) | |
tree | a47a5e701f7ebd016871055c3032b8f6be4d0d6c /nixos/modules/virtualisation/qemu-vm.nix | |
parent | 80c7745b4e8fae6e533475208fe947b0bcae3cdf (diff) |
nixos/*: add trivial defaultText for options with simple defaults
Diffstat (limited to 'nixos/modules/virtualisation/qemu-vm.nix')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 91356ac1d9845..c7c3d7474645a 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -329,6 +329,7 @@ in mkOption { type = types.str; default = "./${config.system.name}.qcow2"; + defaultText = literalExpression ''"./''${config.system.name}.qcow2"''; description = '' Path to the disk image containing the root filesystem. @@ -678,6 +679,7 @@ in mkOption { type = types.str; default = "./${config.system.name}-efi-vars.fd"; + defaultText = literalExpression ''"./''${config.system.name}-efi-vars.fd"''; description = '' Path to nvram image containing UEFI variables. The will be created |