From 9756668b8c110a42303b84aeca726e96e854fe78 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 4 Apr 2024 19:02:40 +0200 Subject: [PATCH] Let's try this user now, it should now exist --- nixos/server/package-configs/firefox-sync/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/nixos/server/package-configs/firefox-sync/default.nix b/nixos/server/package-configs/firefox-sync/default.nix index 5906950..060f02f 100644 --- a/nixos/server/package-configs/firefox-sync/default.nix +++ b/nixos/server/package-configs/firefox-sync/default.nix @@ -5,17 +5,13 @@ }: let port = 5126; in { - # sops.secrets."sync-secrets".mode = "0440"; - # sops.secrets."sync-secrets".owner = config.users.users."firefox-syncserver".name; + sops.secrets."sync-secrets".mode = "0440"; + sops.secrets."sync-secrets".owner = config.users.users."firefox-syncserver".name; services.mysql.package = pkgs.mariadb; services.firefox-syncserver = { enable = true; - # secrets = config.sops.secrets."sync-secrets".path; - # FIXME: change secret to sops correctly - secrets = builtins.toFile "sync-secrets" '' - SYNC_MASTER_SECRET=InsecureSecretToTest - ''; + secrets = config.sops.secrets."sync-secrets".path; singleNode = { enable = true; hostname = "sync.gladtherescake.eu";