From 6a8f2258396c2004a7b2cb11b8a5e142874b64f0 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Thu, 27 Jan 2022 00:41:14 +0100 Subject: [PATCH] [Documentation] Enable nixos documentation for our custom options --- general.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/general.nix b/general.nix index 98abea2..8b76f59 100644 --- a/general.nix +++ b/general.nix @@ -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 // {