From a34dd0dfd7ca548d9bd83f34f33c7343a327c736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Sat, 11 Oct 2025 23:20:09 +0200 Subject: [PATCH] chore: add explicit doc options --- SwarselSystems.org | 14 +++++++++++++- modules/home/common/settings.nix | 14 +++++++++++++- modules/nixos/common/home-manager.nix | 3 ++- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index 060e41b..7d2e82d 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -11009,7 +11009,14 @@ Again, we adapt =nix= to our needs, enable the home-manager command for non-NixO nixpkgs.overlays = lib.mkIf config.swarselsystems.isNixos (lib.mkForce null); - programs.home-manager.enable = lib.mkIf (!config.swarselsystems.isNixos) true; + programs = { + home-manager.enable = lib.mkIf (!config.swarselsystems.isNixos) true; + man = { + enable = true; + generateCaches = true; + }; + }; + targets.genericLinux.enable = lib.mkIf (!config.swarselsystems.isNixos) true; home = { @@ -11020,6 +11027,11 @@ Again, we adapt =nix= to our needs, enable the home-manager command for non-NixO sessionVariables = { FLAKE = "/home/${mainUser}/.dotfiles"; }; + extraOutputsToInstall = [ + "doc" + "info" + "devdoc" + ]; }; }; diff --git a/modules/home/common/settings.nix b/modules/home/common/settings.nix index e778bda..f063300 100644 --- a/modules/home/common/settings.nix +++ b/modules/home/common/settings.nix @@ -42,7 +42,14 @@ in nixpkgs.overlays = lib.mkIf config.swarselsystems.isNixos (lib.mkForce null); - programs.home-manager.enable = lib.mkIf (!config.swarselsystems.isNixos) true; + programs = { + home-manager.enable = lib.mkIf (!config.swarselsystems.isNixos) true; + man = { + enable = true; + generateCaches = true; + }; + }; + targets.genericLinux.enable = lib.mkIf (!config.swarselsystems.isNixos) true; home = { @@ -53,6 +60,11 @@ in sessionVariables = { FLAKE = "/home/${mainUser}/.dotfiles"; }; + extraOutputsToInstall = [ + "doc" + "info" + "devdoc" + ]; }; }; diff --git a/modules/nixos/common/home-manager.nix b/modules/nixos/common/home-manager.nix index 47c2d06..4bcb21a 100644 --- a/modules/nixos/common/home-manager.nix +++ b/modules/nixos/common/home-manager.nix @@ -10,7 +10,8 @@ inputs.nix-index-database.homeModules.nix-index inputs.sops-nix.homeManagerModules.sops inputs.spicetify-nix.homeManagerModules.default - inputs.swarsel-modules.homeModules.default + # inputs.swarsel-modules.homeModules.default + inputs.swarsel-nix.homeModules.default { imports = [ "${self}/profiles/home"