Skip to content

Commit

Permalink
flake: remove extra NixOS documentation for nixosConfigurations
Browse files Browse the repository at this point in the history
They slow down deploying those server systems.
  • Loading branch information
foo-dogsquared committed Oct 4, 2024
1 parent 763216c commit a9cb58f
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions configs/flake-parts/nixos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ in
modules = [
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops

inputs.self.nixosModules.wrapper-manager
{
documentation.nixos.extraModules = [
../../modules/nixos
../../modules/nixos/_private
];
wrapper-manager.documentation.manpage.enable = true;
wrapper-manager.documentation.extraModules = [
../../modules/wrapper-manager
Expand Down Expand Up @@ -72,11 +77,6 @@ in
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops
];
deploy = {
hostname = "plover.foodogsquared.one";
autoRollback = true;
magicRollback = true;
};
};

# TODO: Remove extra newlines that are here for whatever reason.
Expand Down Expand Up @@ -136,15 +136,6 @@ in
defaultNixConf
../../modules/nixos/profiles/generic.nix
../../modules/nixos/profiles/nix-conf.nix

{
config.documentation.nixos = {
extraModules = [
../../modules/nixos
../../modules/nixos/_private
];
};
}
];
};

Expand Down

0 comments on commit a9cb58f

Please sign in to comment.