sync-containers3: lass -> krebs

This commit is contained in:
lassulus 2023-01-30 20:53:24 +01:00
parent bf4a3fe78e
commit c7417c8bc1
14 changed files with 14 additions and 18 deletions

View File

@ -53,6 +53,7 @@ let
./sitemap.nix
./ssl.nix
./sync-containers.nix
./sync-containers3.nix
./systemd.nix
./tinc.nix
./tinc_graphs.nix

View File

@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }: let
cfg = config.lass.sync-containers3;
cfg = config.krebs.sync-containers3;
slib = pkgs.stockholm.lib;
in {
options.lass.sync-containers3 = {
options.krebs.sync-containers3 = {
inContainer = {
enable = lib.mkEnableOption "container config for syncing";
pubkey = lib.mkOption {

View File

@ -27,7 +27,7 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.green;
lass.sync-containers3.inContainer = {
krebs.sync-containers3.inContainer = {
enable = true;
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFlUMf943qEQG64ob81p6dgoHq4jUjq7tSvmSdEOEU2y";
};

View File

@ -14,7 +14,7 @@ with import <stockholm/lib>;
defaults.email = "acme@lassul.us";
};
lass.sync-containers3.inContainer = {
krebs.sync-containers3.inContainer = {
enable = true;
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFQWzKuXrwQopBc1mzb2VpljmwAs7Y8bRl9a8hBXLC+l";
};

View File

@ -17,7 +17,7 @@ with import <stockholm/lib>;
defaults.email = "acme@lassul.us";
};
lass.sync-containers3.inContainer = {
krebs.sync-containers3.inContainer = {
enable = true;
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOvPKdbVwMEFCDMyNAzR8NdVjTbQL2G+03Xomxn6KKFt";
};

View File

@ -9,7 +9,7 @@ with import <stockholm/lib>;
krebs.build.host = config.krebs.hosts.ubik;
lass.sync-containers3.inContainer = {
krebs.sync-containers3.inContainer = {
enable = true;
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPBFGMjH0+Dco6DVFZbByENMci8CFTLXCL7j53yctPnM";
};

View File

@ -9,7 +9,7 @@ in {
krebs.build.host = config.krebs.hosts.yellow;
lass.sync-containers3.inContainer = {
krebs.sync-containers3.inContainer = {
enable = true;
pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN737BAP36KiZO97mPKTIUGJUcr97ps8zjfFag6cUiYL";
};

View File

@ -1,10 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
<stockholm/lass/2configs/container-networking.nix>
];
lass.sync-containers3.containers.green = {
krebs.sync-containers3.containers.green = {
sshKey = "${toString <secrets>}/green.sync.key";
};
}

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
lass.sync-containers3.containers.orange = {
krebs.sync-containers3.containers.orange = {
sshKey = "${toString <secrets>}/orange.sync.key";
};
services.nginx.virtualHosts."lassul.us" = {

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
lass.sync-containers3.containers.radio = {
krebs.sync-containers3.containers.radio = {
sshKey = "${toString <secrets>}/radio.sync.key";
};
containers.radio = {

View File

@ -8,7 +8,7 @@ in
];
lass.sync-containers3.containers.red = {
krebs.sync-containers3.containers.red = {
sshKey = "${toString <secrets>}/containers/red/sync.key";
ephemeral = true;
};

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
lass.sync-containers3.containers.ubik = {
krebs.sync-containers3.containers.ubik = {
sshKey = "${toString <secrets>}/ubik.sync.key";
};
containers.ubik.bindMounts."/var/lib" = {

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
lass.sync-containers3.containers.yellow = {
krebs.sync-containers3.containers.yellow = {
sshKey = "${toString <secrets>}/yellow.sync.key";
};
containers.yellow.bindMounts."/var/lib" = {

View File

@ -15,6 +15,5 @@ _:
./xjail.nix
./autowifi.nix
./browsers.nix
./sync-containers3.nix
];
}