/root: back by a physical store

This commit is contained in:
Colin 2023-07-13 06:48:33 +00:00
parent d4ed4ae9f1
commit 427e6bb696
2 changed files with 11 additions and 0 deletions

View File

@ -4,6 +4,7 @@
imports = [
./colin.nix
./guest.nix
./root.nix
];
# Users are exactly these specified here;

View File

@ -0,0 +1,10 @@
{ ... }:
{
sane.persist.sys.cryptClearOnBoot = [
# when running commands as root, some things may create ~/.cache entries.
# notably:
# - `/root/.cache/nix/` takes up ~10 MB on lappy/desko/servo
# - `/root/.cache/mesa_shader_cache` takes up 1-2 MB on moby
{ path = "/root"; user = "root"; group = "root"; mode = "0700"; }
];
}