Ah wait it's because config is imported

This commit is contained in:
Lillian-Violet 2023-11-27 23:50:49 +01:00
parent 502d0d025e
commit e3c506762b

View file

@ -56,8 +56,6 @@
#Set up sops config, and configure where the keyfile is, then set the mode for the unencrypted keys #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.defaultSopsFile = ../../secrets/queen-Lillian.yaml;
sops.age.keyFile = ./keys.txt; sops.age.keyFile = ./keys.txt;
sops.secrets."mssqlpass".mode = "0440";
sops.secrets."mssqlpass".owner = config.users.users.mssql.name;
nix = { nix = {
gc = { gc = {
@ -167,7 +165,7 @@
ports = ["1433:1433"]; ports = ["1433:1433"];
environment = { environment = {
"ACCEPT_EULA" = "Y"; "ACCEPT_EULA" = "Y";
"MSSQL_SA_PASSWORD" = "${config.sops.placeholder."mssqlpass"}"; "MSSQL_SA_PASSWORD" = "${sops.placeholder."mssqlpass"}";
}; };
volumes = ["/home/lillian/docker/mssql:/data"]; volumes = ["/home/lillian/docker/mssql:/data"];
}; };