Skip to content

Commit

Permalink
feat: disable more documents for server
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 12, 2025
1 parent 5c16741 commit b1294ec
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions systems/server.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
{ lib, ... }:
{ lib, pkgs, ... }:

let
inherit (lib) mkDefault;
in
{
documentation.enable = lib.mkDefault false;
documentation =
{
enable = mkDefault false;
doc.enable = mkDefault false;
info.enable = mkDefault false;
man.enable = mkDefault false;
}
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
nixos.enable = mkDefault false;
};
}

0 comments on commit b1294ec

Please sign in to comment.