summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorstuebinm2024-02-11 18:22:21 +0100
committerstuebinm2024-02-11 18:22:21 +0100
commiteade932667731845341309e43c721d7a49ab6e38 (patch)
tree51679f3e04769f82e545bb589ebd42941c429e17 /common
parent67e173b0beb92fe0d7210602ba6a6c28fa47f13d (diff)
headless: don't do documentation
(except for man pages — without these, somehow deploy-rs breaks)
Diffstat (limited to 'common')
-rw-r--r--common/common.nix9
-rw-r--r--common/headless.nix3
2 files changed, 11 insertions, 1 deletions
diff --git a/common/common.nix b/common/common.nix
index 0f8bc1f..51eb334 100644
--- a/common/common.nix
+++ b/common/common.nix
@@ -21,7 +21,7 @@
time.timeZone = "Europe/Amsterdam";
environment.systemPackages = with pkgs; [
- wget vim htop-vim dnsutils inetutils iftop man-pages gitMinimal
+ wget vim htop-vim dnsutils iputils iftop man-pages gitMinimal
];
console = {
@@ -35,6 +35,13 @@
services.xserver.layout = "de";
services.xserver.xkbOptions = "caps:escape";
+ documentation = {
+ dev.enable = true;
+ man.generateCaches = true;
+ nixos.includeAllModules = true;
+ nixos.options.warningsAreErrors = false;
+ };
+
# to be uncommented in case the domain is messed up again
# networking.extraHosts = ''
# 135.181.111.190 stuebinm.eu flora.stuebinm.eu mail.stuebinm.eu chat.stuebinm.eu picarones.stuebinm.eu pleroma.stuebinm.eu registry.stuebinm.eu
diff --git a/common/headless.nix b/common/headless.nix
index cd1026a..eff3b1f 100644
--- a/common/headless.nix
+++ b/common/headless.nix
@@ -55,4 +55,7 @@
add_header Permissions-Policy "interest-cohort=()";
'';
programs.mosh.enable = true;
+
+ documentation.enable = false;
+ # documentation.man.enable = false;
}