diff options
Diffstat (limited to 'nix/module.nix')
| -rw-r--r-- | nix/module.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/module.nix b/nix/module.nix index d2f54c8..62f4222 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -323,6 +323,9 @@ in environment.etc."enstate/schema.json".source = schemaFile; environment.etc."enstate/config.json".source = settings; + # Root's, whatever creates it first (a deploy copying into incomingDir, say). + systemd.tmpfiles.rules = [ "d ${cfg.stateDir} 0700 root root -" ]; + # At boot, and after a switch that changes the schema: the views of this # generation, from the snapshots, and the reactions of those that changed. systemd.services.enstate = { |
