From 34d691da5ca509ce414ca48bed0b69f767fba294 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 30 Mar 2021 10:05:51 +0200 Subject: [PATCH] Remove subdirectories in /var/keys --- modules/devops.nix | 2 +- modules/information.nix | 2 +- modules/networking.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/devops.nix b/modules/devops.nix index 5576a11..0f23095 100644 --- a/modules/devops.nix +++ b/modules/devops.nix @@ -7,7 +7,7 @@ rootUrl = "https://git.coolneng.duckdns.org"; database = { type = "postgres"; - passwordFile = "/var/keys/gitea/db"; + passwordFile = "/var/keys/gitea"; }; cookieSecure = true; disableRegistration = true; diff --git a/modules/information.nix b/modules/information.nix index af34d41..dac979b 100644 --- a/modules/information.nix +++ b/modules/information.nix @@ -4,7 +4,7 @@ # Miniflux configuration services.miniflux = { enable = true; - adminCredentialsFile = "/var/keys/miniflux/admin"; + adminCredentialsFile = "/var/keys/miniflux"; config = { BASE_URL = "https://rss.coolneng.duckdns.org"; RUN_MIGRATIONS = "1"; diff --git a/modules/networking.nix b/modules/networking.nix index 3ed654a..30aed33 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -1,6 +1,6 @@ { config, pkgs, lib, ... }: -let password = builtins.readFile /var/lib/ddclient/token; +let password = builtins.readFile /var/keys/ddclient; in { # Enable zeroconf