diff options
author | lassulus <lassulus@lassul.us> | 2021-01-24 10:41:47 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-01-24 10:41:47 +0100 |
commit | ea0b43654e20ee3cbe85c154a35d5363baaaca97 (patch) | |
tree | a2453a56d98c2d2edfebb9e300e0a52264ef0438 | |
parent | 293fa449e1d69d2d070f6990e414c76409c4913d (diff) |
sync-containers: lass -> krebs
-rw-r--r-- | krebs/3modules/default.nix | 1 | ||||
-rw-r--r-- | krebs/3modules/sync-containers.nix (renamed from lass/3modules/sync-containers.nix) | 4 | ||||
-rw-r--r-- | lass/2configs/green-host.nix | 2 | ||||
-rw-r--r-- | lass/3modules/default.nix | 1 |
4 files changed, 4 insertions, 4 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix index 0b3d2c791..285db40f9 100644 --- a/krebs/3modules/default.nix +++ b/krebs/3modules/default.nix @@ -51,6 +51,7 @@ let ./secret.nix ./setuid.nix ./shadow.nix + ./sync-containers.nix ./tinc.nix ./tinc_graphs.nix ./urlwatch.nix diff --git a/lass/3modules/sync-containers.nix b/krebs/3modules/sync-containers.nix index 4dd0fd722..81316fb0d 100644 --- a/lass/3modules/sync-containers.nix +++ b/krebs/3modules/sync-containers.nix @@ -1,6 +1,6 @@ with import <stockholm/lib>; { config, pkgs, ... }: let - cfg = config.lass.sync-containers; + cfg = config.krebs.sync-containers; paths = cname: { plain = "/var/lib/containers/${cname}/var/state"; ecryptfs = "${cfg.dataLocation}/${cname}/ecryptfs"; @@ -37,7 +37,7 @@ with import <stockholm/lib>; ''; }; in { - options.lass.sync-containers = { + options.krebs.sync-containers = { dataLocation = mkOption { description = '' location where the encrypted sync-container lie around diff --git a/lass/2configs/green-host.nix b/lass/2configs/green-host.nix index a5328943c..355daba9c 100644 --- a/lass/2configs/green-host.nix +++ b/lass/2configs/green-host.nix @@ -4,7 +4,7 @@ <stockholm/lass/2configs/container-networking.nix> <stockholm/lass/2configs/syncthing.nix> ]; - lass.sync-containers.containers.green = { + krebs.sync-containers.containers.green = { peers = [ "icarus" "shodan" diff --git a/lass/3modules/default.nix b/lass/3modules/default.nix index 3587e0f88..9f8ae98e5 100644 --- a/lass/3modules/default.nix +++ b/lass/3modules/default.nix @@ -12,7 +12,6 @@ _: ./pyload.nix ./restic.nix ./screenlock.nix - ./sync-containers.nix ./usershadow.nix ./xjail.nix ./autowifi.nix |