From 50e30a750d3d002561b4ecebe64a90473bd4efef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 21 Jan 2025 17:45:44 +0100 Subject: [PATCH] remove createFile legacy alias from vars/interface it's hard to filter this out in nix. So instead we just drop this option. --- nixosModules/clanCore/vars/default.nix | 3 +-- nixosModules/clanCore/vars/interface.nix | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/nixosModules/clanCore/vars/default.nix b/nixosModules/clanCore/vars/default.nix index 292e0654a..c9e04dd7a 100644 --- a/nixosModules/clanCore/vars/default.nix +++ b/nixosModules/clanCore/vars/default.nix @@ -43,9 +43,8 @@ in validationHash migrateFact share + prompts ; - # createFile is deprecated. - prompts = (lib.removeAttrs generator.prompts [ "createFile" ]); files = lib.flip lib.mapAttrs generator.files ( _name: file: { diff --git a/nixosModules/clanCore/vars/interface.nix b/nixosModules/clanCore/vars/interface.nix index dec367d47..7d7535a75 100644 --- a/nixosModules/clanCore/vars/interface.nix +++ b/nixosModules/clanCore/vars/interface.nix @@ -259,9 +259,6 @@ in default = { }; type = attrsOf ( submodule (prompt: { - imports = [ - (lib.mkRenamedOptionModule [ "createFile" ] [ "persist" ]) - ]; options = { name = lib.mkOption { description = ''