Migrate searx to sops-nix
This commit is contained in:
parent
b5d6055f36
commit
6282e3fed9
3 changed files with 33 additions and 12 deletions
|
|
@ -24,6 +24,13 @@
|
|||
ui.static_use_hash = true;
|
||||
enabled_plugins = [ "Hash plugin" "Self Informations" "Tracker URL remover" "Ahmia blacklist" ];
|
||||
};
|
||||
environmentFile = "/secrets/searx-secret-key.secret";
|
||||
environmentFile = "/run/secrets/searx-secret-key";
|
||||
};
|
||||
|
||||
sops.secrets."searx-secret-key" = {
|
||||
mode = "0440";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
restartUnits = [ "searx.service" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue