home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

home-manager.nix (350B)


      1 { config, lib, ... }:
      2 
      3 with lib;
      4 let
      5   cfg = config.core.home-manager;
      6 in
      7 {
      8   options = {
      9     core.home-manager = {
     10       enable = mkOption { type = types.bool; default = true; description = "Enable core.home-manager"; };
     11     };
     12   };
     13   config = mkIf cfg.enable {
     14     home-manager.useUserPackages = true;
     15     home-manager.useGlobalPkgs = true;
     16   };
     17 }