feat(sgx): adjust tmpfs usage for better configuration

- Set `boot.tmp.useTmpfs` to `false` in `x86_64-linux/sgx/default.nix`.
- Applied `lib.mkDefault` to `boot.tmp.useTmpfs` in `services/base/default.nix` for consistency.
This commit is contained in:
Harald Hoyer 2025-09-28 08:19:45 +02:00
parent 92a9c0756c
commit 440cf540eb
2 changed files with 3 additions and 1 deletions

View file

@ -188,7 +188,7 @@ in
virtualisation.libvirtd.enable = lib.mkDefault true;
boot.tmp.useTmpfs = true;
boot.tmp.useTmpfs = lib.mkDefault true;
services.fstrim.enable = true;
};

View file

@ -11,6 +11,8 @@
./mail.nix
];
boot.tmp.useTmpfs = false;
sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml;
sops.secrets.backup-pw.sopsFile = ../../../.secrets/sgx/backup-s3.yaml;