rpi-netboot: move r/o nix/store config

This commit is contained in:
Astro 2022-06-09 02:02:44 +02:00
parent 43fadec9bd
commit 66627bbe9d
2 changed files with 8 additions and 7 deletions

View File

@ -74,6 +74,14 @@
programs.tmux.enable = true;
systemd = {
# r/o /nix/store
services.nix-daemon.enable = false;
sockets.nix-daemon.enable = false;
services.nix-gc.enable = false;
};
nix.gc.automatic = lib.mkForce false;
# Do not log to flash:
services.journald.extraConfig = ''
Storage=volatile

View File

@ -43,13 +43,6 @@
libraspberrypi
raspberrypi-eeprom
];
systemd = {
# r/o /nix/store
services.nix-daemon.enable = false;
sockets.nix-daemon.enable = false;
services.nix-gc.enable = false;
};
nix.gc.automatic = lib.mkForce false;
services.journald.extraConfig = ''
Storage=volatile
'';