/root: back by a physical store
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
./colin.nix
|
||||
./guest.nix
|
||||
./root.nix
|
||||
];
|
||||
|
||||
# Users are exactly these specified here;
|
||||
|
10
hosts/common/users/root.nix
Normal file
10
hosts/common/users/root.nix
Normal 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"; }
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user