sync-containers: lass -> krebs
This commit is contained in:
parent
293fa449e1
commit
ea0b43654e
@ -51,6 +51,7 @@ let
|
|||||||
./secret.nix
|
./secret.nix
|
||||||
./setuid.nix
|
./setuid.nix
|
||||||
./shadow.nix
|
./shadow.nix
|
||||||
|
./sync-containers.nix
|
||||||
./tinc.nix
|
./tinc.nix
|
||||||
./tinc_graphs.nix
|
./tinc_graphs.nix
|
||||||
./urlwatch.nix
|
./urlwatch.nix
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
{ config, pkgs, ... }: let
|
{ config, pkgs, ... }: let
|
||||||
cfg = config.lass.sync-containers;
|
cfg = config.krebs.sync-containers;
|
||||||
paths = cname: {
|
paths = cname: {
|
||||||
plain = "/var/lib/containers/${cname}/var/state";
|
plain = "/var/lib/containers/${cname}/var/state";
|
||||||
ecryptfs = "${cfg.dataLocation}/${cname}/ecryptfs";
|
ecryptfs = "${cfg.dataLocation}/${cname}/ecryptfs";
|
||||||
@ -37,7 +37,7 @@ with import <stockholm/lib>;
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.lass.sync-containers = {
|
options.krebs.sync-containers = {
|
||||||
dataLocation = mkOption {
|
dataLocation = mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
location where the encrypted sync-container lie around
|
location where the encrypted sync-container lie around
|
@ -4,7 +4,7 @@
|
|||||||
<stockholm/lass/2configs/container-networking.nix>
|
<stockholm/lass/2configs/container-networking.nix>
|
||||||
<stockholm/lass/2configs/syncthing.nix>
|
<stockholm/lass/2configs/syncthing.nix>
|
||||||
];
|
];
|
||||||
lass.sync-containers.containers.green = {
|
krebs.sync-containers.containers.green = {
|
||||||
peers = [
|
peers = [
|
||||||
"icarus"
|
"icarus"
|
||||||
"shodan"
|
"shodan"
|
||||||
|
@ -12,7 +12,6 @@ _:
|
|||||||
./pyload.nix
|
./pyload.nix
|
||||||
./restic.nix
|
./restic.nix
|
||||||
./screenlock.nix
|
./screenlock.nix
|
||||||
./sync-containers.nix
|
|
||||||
./usershadow.nix
|
./usershadow.nix
|
||||||
./xjail.nix
|
./xjail.nix
|
||||||
./autowifi.nix
|
./autowifi.nix
|
||||||
|
Loading…
Reference in New Issue
Block a user