refactor: don't include the whole modules
All checks were successful
/ check (push) Successful in 8s
/ check-renovaterc (push) Successful in 2s
/ build-packages (push) Successful in 14s
/ build-vm (push) Successful in 1s
/ report-size (push) Successful in 4s

Instead only import the nixos/hm/nixvim module.

This _should_ reduce rebuilds.
This commit is contained in:
Jalil David Salamé Messina 2025-03-21 16:21:13 +01:00
parent 5359f13621
commit c1309a5d43
Signed by: jalil
GPG key ID: F016B9E770737A0B
6 changed files with 78 additions and 87 deletions

View file

@ -1,7 +1,4 @@
{ self, inputs, ... }:
let
modules = ../modules;
in
{
# FIXME(25.05): this version of HM should have the flake module
# imports = [ inputs.home-manager.flakeModules.home-manager ];
@ -11,7 +8,7 @@ in
defaultModules = [
inputs.nixvim.homeManagerModules.nixvim
self.nixvimModules.homeManager
(modules + "/hm")
../modules/hm
];
nixos = {
imports = defaultModules;