fix(agenix/pihole): add ziggy to agenix pihole secret
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
};
|
||||
podman = {
|
||||
enable = true;
|
||||
gluetun.enable = true;
|
||||
qbittorrent = {
|
||||
enable = true;
|
||||
port = 8080;
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
};
|
||||
podman = {
|
||||
enable = true;
|
||||
gluetun.enable = false;
|
||||
qbittorrent = {
|
||||
enable = false;
|
||||
port = 8080;
|
||||
|
||||
@@ -77,6 +77,11 @@ in
|
||||
slskd.file = "${self}/secrets/slskd.age";
|
||||
};
|
||||
})
|
||||
(mkIf cfg.ziggy.enable {
|
||||
secrets = {
|
||||
pihole.file = "${self}/secrets/pihole.age";
|
||||
};
|
||||
})
|
||||
(mkIf cfg.toothpc.enable {
|
||||
secrets = {
|
||||
# Add toothpc specific secrets here
|
||||
|
||||
@@ -10,6 +10,7 @@ in
|
||||
{
|
||||
options.server.podman = {
|
||||
enable = lib.mkEnableOption "Enables Podman";
|
||||
gluetun.enable = lib.mkEnableOption "Enables gluetun";
|
||||
qbittorrent = {
|
||||
enable = lib.mkEnableOption "Enable qBittorrent";
|
||||
url = lib.mkOption {
|
||||
@@ -152,7 +153,7 @@ in
|
||||
];
|
||||
|
||||
virtualisation.oci-containers.containers = lib.mkMerge [
|
||||
(lib.mkIf cfg.enable {
|
||||
(lib.mkIf cfg.gluetun.enable {
|
||||
gluetun = {
|
||||
image = "qmcgaw/gluetun";
|
||||
ports = [
|
||||
|
||||
@@ -3,6 +3,8 @@ let
|
||||
kima = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJjoPdpiF8pjKN3ZEHeLEwVxoqwcCdzpVVlZkxJohFdg root@cnix";
|
||||
usobotka = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG5ydTeaWcowmNXdDNqIa/lb5l9w5CAzyF2Kg6U5PSSu cnst@sobotka";
|
||||
rsobotka = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWLTYWowtpGmGolmkCE7+l9jr5QEnDqRxoezNqAIe+j root@nixos";
|
||||
uziggy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICtL8uBsJ3UL4+scqjEcyXYQOVlKziJk9YJ78YP6jCxq cnst@nixos";
|
||||
rziggy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHnca8xg1MZ4Hx5k5SVFSxcPnWc1O6r7w7JGYzX9aQm8 root@nixos";
|
||||
in
|
||||
{
|
||||
"cnstssh.age".publicKeys = [
|
||||
@@ -94,6 +96,8 @@ in
|
||||
kima
|
||||
usobotka
|
||||
rsobotka
|
||||
uziggy
|
||||
rziggy
|
||||
];
|
||||
"slskd.age".publicKeys = [
|
||||
cnst
|
||||
|
||||
Reference in New Issue
Block a user