Refactor home modules into config + options
This commit is contained in:
@ -10,7 +10,7 @@ with lib;
|
||||
with mylib.modules; let
|
||||
cfg = config.modules.ranger;
|
||||
in {
|
||||
options.modules.ranger = import ./options.nix { inherit lib; };
|
||||
options.modules.ranger = import ./options.nix { inherit lib mylib; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs;
|
||||
|
Reference in New Issue
Block a user