diff options
Diffstat (limited to 'modules/by-name/ho/home-manager/module.nix')
-rw-r--r-- | modules/by-name/ho/home-manager/module.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/by-name/ho/home-manager/module.nix b/modules/by-name/ho/home-manager/module.nix index d95bb6ac..4a8b351f 100644 --- a/modules/by-name/ho/home-manager/module.nix +++ b/modules/by-name/ho/home-manager/module.nix @@ -24,6 +24,10 @@ in { enable = lib.mkEnableOption "home-manager with custom config."; }; + # TODO: Find a way to throw this error below, when a user `enable`s a home-manager + # module, but not this module. Without having to plaster all the `home-manager` modules + # with `assert`s. <2024-10-18> + # builtins.throw "If you want use a home-manager module, you must also enable `soispha.home-manager.enable`."); config = lib.mkIf cfg.enable { home-manager = { useGlobalPkgs = true; |