remove createFile legacy alias from vars/interface

it's hard to filter this out in nix. So instead we just drop this
option.
This commit is contained in:
Jörg Thalheim
2025-01-21 17:45:44 +01:00
committed by clan-bot
parent d770830c03
commit 0e3e6c29c7
2 changed files with 1 additions and 5 deletions

View File

@@ -43,9 +43,8 @@ in
validationHash validationHash
migrateFact migrateFact
share share
prompts
; ;
# createFile is deprecated.
prompts = (lib.removeAttrs generator.prompts [ "createFile" ]);
files = lib.flip lib.mapAttrs generator.files ( files = lib.flip lib.mapAttrs generator.files (
_name: file: { _name: file: {

View File

@@ -259,9 +259,6 @@ in
default = { }; default = { };
type = attrsOf ( type = attrsOf (
submodule (prompt: { submodule (prompt: {
imports = [
(lib.mkRenamedOptionModule [ "createFile" ] [ "persist" ])
];
options = { options = {
name = lib.mkOption { name = lib.mkOption {
description = '' description = ''