diff options
author | tv <tv@krebsco.de> | 2019-04-19 16:39:05 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-04-19 16:39:05 +0200 |
commit | d825d2db8796a0d19f22eba240a2e49213cf01e2 (patch) | |
tree | b7104f1b790ae0446fd44b1aad4c22f1c425af6d /lass/2configs/green-host.nix | |
parent | 5fbe320b9173b1ef0725a79548f34f967ad16130 (diff) | |
parent | 6c719f03c1a5533b43957d3039b4aed5f5bd8b42 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/green-host.nix')
-rw-r--r-- | lass/2configs/green-host.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index 860d7c113..1421eede7 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -20,13 +20,12 @@ with import <stockholm/lib>; } ]; - lass.ensure-permissions = [ - { folder = "/var/lib/sync-containers"; owner = "root"; group = "syncthing"; } - ]; - - krebs.syncthing.folders = [ - { path = "/var/lib/sync-containers"; peers = [ "icarus" "skynet" "littleT" "shodan" ]; } - ]; + krebs.syncthing.folders."/var/lib/sync-containers".peers = [ "icarus" "skynet" "littleT" "shodan" ]; + krebs.permown."/var/lib/sync-containers" = { + owner = "root"; + group = "syncthing"; + umask = "0007"; + }; system.activationScripts.containerPermissions = '' mkdir -p /var/lib/containers |