summaryrefslogtreecommitdiffstats
path: root/krebs/1systems/onebutton
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-04-21 16:14:01 +0200
committermakefu <github@syntax-fehler.de>2018-04-21 16:14:01 +0200
commit1501d9e3e6a96e80ed238431ec58b40eb7b1b552 (patch)
treeb4ccb50fde2f4eb82e6afbbc452d794117f5d326 /krebs/1systems/onebutton
parent70052cb8c9fedcda1ba8d5270afdf92bc1dd13ff (diff)
onebutton.r: minimal disk and default config
Diffstat (limited to 'krebs/1systems/onebutton')
-rw-r--r--krebs/1systems/onebutton/config.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/krebs/1systems/onebutton/config.nix b/krebs/1systems/onebutton/config.nix
index 19159c8fb..c634d73ce 100644
--- a/krebs/1systems/onebutton/config.nix
+++ b/krebs/1systems/onebutton/config.nix
@@ -2,7 +2,18 @@
{
imports = [
<stockholm/krebs>
+ <stockholm/krebs/2configs>
+ { # minimal disk usage
+ environment.noXlibs = true;
+ nix.gc.automatic = true;
+ nix.gc.dates = "03:10";
+ programs.info.enable = false;
+ programs.man.enable = false;
+ services.journald.extraConfig = "SystemMaxUse=50M";
+ services.nixosManual.enable = false;
+ }
];
+ krebs.build.host = config.krebs.hosts.onebutton;
# NixOS wants to enable GRUB by default
boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf