From 8844f6aad7078679a431f185a14dd76132804436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 9 Oct 2024 13:18:25 +0200 Subject: [PATCH] drop optionsNix --- nixosModules/clanCore/options.nix | 12 ------------ pkgs/clan-cli/tests/test_flake/flake.nix | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/nixosModules/clanCore/options.nix b/nixosModules/clanCore/options.nix index c3b1201e9..ba92d1d18 100644 --- a/nixosModules/clanCore/options.nix +++ b/nixosModules/clanCore/options.nix @@ -1,6 +1,4 @@ { - pkgs, - options, lib, ... }: @@ -11,14 +9,4 @@ "core" ]) ]; - options.clan.core.optionsNix = lib.mkOption { - type = lib.types.raw; - internal = true; - readOnly = true; - default = (pkgs.nixosOptionsDoc { inherit options; }).optionsNix; - defaultText = "optionsNix"; - description = '' - This is to export nixos options used for `clan config` - ''; - }; } diff --git a/pkgs/clan-cli/tests/test_flake/flake.nix b/pkgs/clan-cli/tests/test_flake/flake.nix index fbb8531b8..f563ec31e 100644 --- a/pkgs/clan-cli/tests/test_flake/flake.nix +++ b/pkgs/clan-cli/tests/test_flake/flake.nix @@ -20,8 +20,6 @@ ( { lib, - options, - pkgs, ... }: { @@ -31,16 +29,6 @@ nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; documentation.enable = false; }; - options.clan.core.optionsNix = lib.mkOption { - type = lib.types.raw; - internal = true; - readOnly = true; - default = (pkgs.nixosOptionsDoc { inherit options; }).optionsNix; - defaultText = "optionsNix"; - description = '' - This is to export nixos options used for `clan config` - ''; - }; options.clanImports = lib.mkOption { type = lib.types.listOf lib.types.str; description = ''