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