Ah wait it's because config is imported
This commit is contained in:
parent
97161b3025
commit
8f85b5ae35
|
@ -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"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue