diff options
author | makefu <github@syntax-fehler.de> | 2018-04-21 16:14:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-04-21 16:14:01 +0200 |
commit | 1501d9e3e6a96e80ed238431ec58b40eb7b1b552 (patch) | |
tree | b4ccb50fde2f4eb82e6afbbc452d794117f5d326 /krebs/1systems | |
parent | 70052cb8c9fedcda1ba8d5270afdf92bc1dd13ff (diff) |
onebutton.r: minimal disk and default config
Diffstat (limited to 'krebs/1systems')
-rw-r--r-- | krebs/1systems/onebutton/config.nix | 11 |
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 |