From 059ff2364cb34a1b986a8ff126e72acca39fe7cf Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 25 Aug 2024 12:50:23 +0200 Subject: [PATCH] delete unused & barely started nix/home-manager-modules --- nix/home-manager-modules/default.nix | 0 nix/home-manager-modules/frontend/base.nix | 25 -------------- nix/home-manager-modules/frontend/default.nix | 34 ------------------- .../frontend/extension.nix | 9 ----- 4 files changed, 68 deletions(-) delete mode 100644 nix/home-manager-modules/default.nix delete mode 100644 nix/home-manager-modules/frontend/base.nix delete mode 100644 nix/home-manager-modules/frontend/default.nix delete mode 100644 nix/home-manager-modules/frontend/extension.nix diff --git a/nix/home-manager-modules/default.nix b/nix/home-manager-modules/default.nix deleted file mode 100644 index e69de29..0000000 diff --git a/nix/home-manager-modules/frontend/base.nix b/nix/home-manager-modules/frontend/base.nix deleted file mode 100644 index c02bf31..0000000 --- a/nix/home-manager-modules/frontend/base.nix +++ /dev/null @@ -1,25 +0,0 @@ -# this stuff replaces all settings which would be configured by the corresponding frontend NixOS module - -{ - config, - lib, - pkgs, - ... -}: -let - cfg = config.x-banananetwork.frontend; -in -{ - - config = lib.mkIf (cfg.enable && !cfg.nixosModuleCompat) { - - assertions = [ - { - assertion = !cfg.nixosModuleCompat; - message = "missing implementation of base stuff"; - } - ]; - - }; - -} diff --git a/nix/home-manager-modules/frontend/default.nix b/nix/home-manager-modules/frontend/default.nix deleted file mode 100644 index d1a1616..0000000 --- a/nix/home-manager-modules/frontend/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - config, - lib, - pkgs, - ... - -}: -{ - - imports = [ - ./base.nix - ./extension.nix - ]; - - options = { - - x-banananetwork.frontend = { - - enable = lib.mkEnableOption '' - settings for frontend configuration in Home-Manager - ''; - - nixosModuleCompat = lib.mkEnableOption '' - compatibility to the corresponding frontend NixOS configuration. - - This is created by opting out to configure stuff - which is already configured by the corresponding NixOS module. - ''; - - }; - - }; - -} diff --git a/nix/home-manager-modules/frontend/extension.nix b/nix/home-manager-modules/frontend/extension.nix deleted file mode 100644 index ba1bd71..0000000 --- a/nix/home-manager-modules/frontend/extension.nix +++ /dev/null @@ -1,9 +0,0 @@ -# this stuff must all be compatible to settings already configured by the corresponding frontend NixOS module - -{ - config, - lib, - pkgs, - ... -}: -{ }