[Documentation] Enable nixos documentation for our custom options

This commit is contained in:
Antoine Viallon 2022-01-27 00:41:14 +01:00
parent 84d4ce4873
commit 6a8f225839
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -85,6 +85,11 @@ in
system.autoUpgrade.allowReboot = mkIf (!desktopCfg.enable) (mkDefault true);
system.autoUpgrade.dates = "00:00";
documentation.nixos.includeAllModules = true;
documentation.nixos.enable = true;
documentation.dev.enable = true;
documentation.man.generateCaches = true;
nixpkgs.localSystem.system = builtins.currentSystem;
nixpkgs.localSystem.platform = lib.systems.platforms.pc // {