Make a module instead

This commit is contained in:
Peter Selby 2023-11-06 15:59:26 -08:00
parent d7a279a2f2
commit 45161926a6
1 changed files with 4 additions and 8 deletions

View File

@ -24,14 +24,10 @@
(import ./module.nix { inherit doom-emacs niten-doom-config; })
];
};
mkHomeManagerConfiguration = { username, user-email, home-dir, enable-gui, pkgs, ... }:
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import ./niten.nix {
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
})
];
mkModule = { username, user-email, home-dir, enable-gui, pkgs, ... }:
import ./niten.nix {
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
};
};
};
}