From 4703ed7731f0950181ea25c633614ae861263d92 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 17 Feb 2024 03:54:13 +0300 Subject: [PATCH] flake: move home-manager module to flake-parts root --- flake.nix | 2 +- lib/module/default.nix => flake/modules/hm-module.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/module/default.nix => flake/modules/hm-module.nix (96%) diff --git a/flake.nix b/flake.nix index 67b65777..14e3ea33 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ homeManagerModules = { neovim-flake = { imports = [ - (import ./lib/module self.packages inputs) + (import ./flake/modules/hm-module.nix self.packages inputs) ]; }; diff --git a/lib/module/default.nix b/flake/modules/hm-module.nix similarity index 96% rename from lib/module/default.nix rename to flake/modules/hm-module.nix index 7da3e2aa..b6c4d827 100644 --- a/lib/module/default.nix +++ b/flake/modules/hm-module.nix @@ -20,7 +20,7 @@ in { enable = mkEnableOption "A NeoVim IDE with a focus on configurability and extensibility."; settings = mkOption { - type = types.attrsOf types.anything; + type = with types; attrsOf anything; default = {}; example = literalExpression '' {