From e3c506762bec2d04739ae02336018d1635fce76e Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 27 Nov 2023 23:50:49 +0100 Subject: [PATCH] Ah wait it's because config is imported --- nixos/queen/configuration.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/queen/configuration.nix b/nixos/queen/configuration.nix index 14f3750..92544f8 100644 --- a/nixos/queen/configuration.nix +++ b/nixos/queen/configuration.nix @@ -56,8 +56,6 @@ #Set up sops config, and configure where the keyfile is, then set the mode for the unencrypted keys sops.defaultSopsFile = ../../secrets/queen-Lillian.yaml; sops.age.keyFile = ./keys.txt; - sops.secrets."mssqlpass".mode = "0440"; - sops.secrets."mssqlpass".owner = config.users.users.mssql.name; nix = { gc = { @@ -167,7 +165,7 @@ ports = ["1433:1433"]; environment = { "ACCEPT_EULA" = "Y"; - "MSSQL_SA_PASSWORD" = "${config.sops.placeholder."mssqlpass"}"; + "MSSQL_SA_PASSWORD" = "${sops.placeholder."mssqlpass"}"; }; volumes = ["/home/lillian/docker/mssql:/data"]; };