factorio: move secret to sops
This commit is contained in:
parent
03e2220105
commit
5f57fb269a
7 changed files with 12 additions and 6 deletions
|
|
@ -12,7 +12,7 @@
|
|||
lan = true;
|
||||
openFirewall = true;
|
||||
admins = [ "lelgenio" ];
|
||||
extraSettingsFile = config.age.secrets.factorio-settings.path;
|
||||
extraSettingsFile = config.sops.secrets."factorio/server-config.json".path;
|
||||
};
|
||||
|
||||
systemd.services.factorio = {
|
||||
|
|
@ -43,8 +43,7 @@
|
|||
wantedBy = [ "timers.target" ];
|
||||
};
|
||||
|
||||
age.secrets.factorio-settings = {
|
||||
file = ../../secrets/factorio-settings.age;
|
||||
sops.secrets."factorio/server-config.json" = {
|
||||
mode = "777";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue