onebutton.r: minimal disk and default config

This commit is contained in:
makefu 2018-04-21 16:14:01 +02:00
parent 70052cb8c9
commit 1501d9e3e6
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -2,7 +2,18 @@
{ {
imports = [ imports = [
<stockholm/krebs> <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 # NixOS wants to enable GRUB by default
boot.loader.grub.enable = false; boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf # Enables the generation of /boot/extlinux/extlinux.conf