commit 27b698ee1323ba48018fb214ada0ffee415a06da
parent b693cfc0329226b5cdb695a432c3581ae13ea34d
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 3 Jun 2020 15:41:16 +0200
systems: fix secrets on okinawa and sakhalin
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/systems/okinawa.nix b/systems/okinawa.nix
@@ -1,4 +1,4 @@
-{ lib, ... }:
+{ pkgs, lib, ... }:
with lib;
let
@@ -70,25 +70,25 @@ in
# home
name = "home";
slaves = [ ];
- file = ../assets/db.home;
+ file = pkgs.mkSecret ../secrets/db.home;
}
{
# home.reverse
name = "192.168.1.in-addr.arpa";
slaves = [ ];
- file = ../assets/db.192.168.1;
+ file = pkgs.mkSecret ../secrets/db.192.168.1;
}
{
# vpn
name = "vpn";
slaves = [ ];
- file = ../assets/db.vpn;
+ file = pkgs.mkSecret ../secrets/db.vpn;
}
{
# vpn.reverse
name = "10.100.0.in-addr.arpa";
slaves = [ ];
- file = ../assets/db.10.100.0;
+ file = pkgs.mkSecret ../secrets/db.10.100.0;
}
];
};
diff --git a/systems/sakhalin.nix b/systems/sakhalin.nix
@@ -87,25 +87,25 @@ in
# home
name = "home";
slaves = [ ];
- file = ../assets/db.home;
+ file = pkgs.mkSecret ../secrets/db.home;
}
{
# home.reverse
name = "192.168.1.in-addr.arpa";
slaves = [ ];
- file = ../assets/db.192.168.1;
+ file = pkgs.mkSecret ../secrets/db.192.168.1;
}
{
# vpn
name = "vpn";
slaves = [ ];
- file = ../assets/db.vpn;
+ file = pkgs.mkSecret ../secrets/db.vpn;
}
{
# vpn.reverse
name = "10.100.0.in-addr.arpa";
slaves = [ ];
- file = ../assets/db.10.100.0;
+ file = pkgs.mkSecret ../secrets/db.10.100.0;
}
];
};