From 916c63e7b952080f887969aeb3330b7a5d8c7b71 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Tue, 15 Sep 2026 14:21:13 +0530 Subject: chore(flake): minor cleanup --- flake.nix | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/flake.nix b/flake.nix index aa228d6..9b32d27 100644 --- a/flake.nix +++ b/flake.nix @@ -46,23 +46,6 @@ inherit pkgs; lib = pkgs.lib; }; - # The module set, bundled with the prerequisites it relies on: the - # base16 module (provides `config.scheme`) and the nixvim module - # (provides `programs.nixvim`). A default `scheme` is set so it works - # out of the box; consumers can override it with their own path. - homeManagerModule = - { - lib, - ... - }: - { - imports = [ - base16.homeManagerModule - nixvim.homeModules.nixvim - ./modules - ]; - scheme = lib.mkDefault ./assets/onedark-dark.yml; - }; preCommitCheck = git-hooks.lib.${system}.run { src = ./.; hooks = { @@ -80,7 +63,19 @@ in { homeManagerModules = { - default = homeManagerModule; + default = + { + lib, + ... + }: + { + imports = [ + base16.homeManagerModule + nixvim.homeModules.nixvim + ./modules + ]; + scheme = lib.mkDefault ./assets/onedark-dark.yml; + }; }; apps.${system}.updates = { type = "app"; -- cgit v1.2.3