diff --git a/hosts/hades/default.nix b/hosts/hades/default.nix index cb47d27..4fd34ee 100644 --- a/hosts/hades/default.nix +++ b/hosts/hades/default.nix @@ -57,6 +57,12 @@ in { my.services = { fail2ban.enable = true; + miniflux = { + enable = true; + adminCredentialsFile = config.age.secrets."miniflux/admin-credentials".path; + privatePort = 8080; + }; + restic-backup = { enable = true; repo = "b2:hades-backup-alarsyo"; diff --git a/hosts/hades/secrets.nix b/hosts/hades/secrets.nix index f562d22..464bcc1 100644 --- a/hosts/hades/secrets.nix +++ b/hosts/hades/secrets.nix @@ -13,6 +13,8 @@ // attrs; in lib.mapAttrs toSecret { + "miniflux/admin-credentials" = {}; + "restic-backup/hades-credentials" = {}; "restic-backup/hades-password" = {}; diff --git a/hosts/poseidon/default.nix b/hosts/poseidon/default.nix index 7c3bd67..b05967f 100644 --- a/hosts/poseidon/default.nix +++ b/hosts/poseidon/default.nix @@ -96,12 +96,6 @@ in { port = 8083; }; - miniflux = { - enable = true; - adminCredentialsFile = config.age.secrets."miniflux/admin-credentials".path; - privatePort = 8080; - }; - matrix = { enable = true; secretConfigFile = config.age.secrets."matrix-synapse/secret-config".path; diff --git a/hosts/poseidon/secrets.nix b/hosts/poseidon/secrets.nix index 66f6673..719d569 100644 --- a/hosts/poseidon/secrets.nix +++ b/hosts/poseidon/secrets.nix @@ -21,8 +21,6 @@ owner = "matrix-synapse"; }; - "miniflux/admin-credentials" = {}; - "nextcloud/admin-pass" = { owner = "nextcloud"; }; diff --git a/modules/secrets/miniflux/admin-credentials.age b/modules/secrets/miniflux/admin-credentials.age index ee534fb..11c576f 100644 Binary files a/modules/secrets/miniflux/admin-credentials.age and b/modules/secrets/miniflux/admin-credentials.age differ diff --git a/modules/secrets/secrets.nix b/modules/secrets/secrets.nix index 455f7b0..58082b8 100644 --- a/modules/secrets/secrets.nix +++ b/modules/secrets/secrets.nix @@ -17,7 +17,7 @@ in { "matrix-synapse/secret-config.age".publicKeys = [alarsyo poseidon]; - "miniflux/admin-credentials.age".publicKeys = [alarsyo poseidon]; + "miniflux/admin-credentials.age".publicKeys = [alarsyo hades]; "nextcloud/admin-pass.age".publicKeys = [alarsyo poseidon];