Add cache to installer and wg-rpi

This commit is contained in:
Vili Sinervä 2025-07-14 03:17:11 +03:00
parent f3b8ea78de
commit ac11f9c29a
Signed by: Vili Sinervä
SSH key fingerprint: SHA256:FladqYjaE4scJY3Hi+gnShZ6ygnTJgixy0I6BAoHyos
2 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,8 @@ let
hostname = "wg-rpi"; hostname = "wg-rpi";
in in
{ {
custom.services.nixCacheClient.enable = true;
sops.secrets = { sops.secrets = {
priv-netflix-wg = { priv-netflix-wg = {
sopsFile = ../../secrets/wg-rpi.yaml; sopsFile = ../../secrets/wg-rpi.yaml;

View file

@ -4,6 +4,7 @@
"${nixpkgs-flake}/nixos/modules/installer/cd-dvd/installation-cd-graphical-combined.nix" "${nixpkgs-flake}/nixos/modules/installer/cd-dvd/installation-cd-graphical-combined.nix"
]; ];
custom.services.nixCacheClient.enable = true;
boot.supportedFilesystems.zfs = lib.mkForce true; boot.supportedFilesystems.zfs = lib.mkForce true;
services.qemuGuest.enable = true; services.qemuGuest.enable = true;
isoImage.squashfsCompression = "gzip -Xcompression-level 1"; isoImage.squashfsCompression = "gzip -Xcompression-level 1";