diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 14:21:13 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 14:21:13 +0530 |
| commit | 916c63e7b952080f887969aeb3330b7a5d8c7b71 (patch) | |
| tree | 7fa5f02e11426af869218c3835bc1ab7f0a3fc4e | |
| parent | 154b97d6163a1b69399ced33196aa68b15e8e4b0 (diff) | |
| download | home-manager-config-916c63e7b952080f887969aeb3330b7a5d8c7b71.tar.gz home-manager-config-916c63e7b952080f887969aeb3330b7a5d8c7b71.zip | |
chore(flake): minor cleanup
| -rw-r--r-- | flake.nix | 31 |
1 files changed, 13 insertions, 18 deletions
@@ -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"; |
