onebutton.r: minimal disk and default config
This commit is contained in:
parent
70052cb8c9
commit
1501d9e3e6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user