Remove fieldseeker-sync.toml config file
It's all configured via environment variables now.
This commit is contained in:
parent
f277375075
commit
b91bb281e0
3 changed files with 2 additions and 12 deletions
|
|
@ -9,7 +9,7 @@
|
|||
./cloudreve.nix
|
||||
./do-agent.nix
|
||||
./element-web.nix
|
||||
./fieldseeker-sync
|
||||
./fieldseeker-sync.nix
|
||||
./fish.nix
|
||||
./librechat.nix
|
||||
./openssh.nix
|
||||
|
|
|
|||
|
|
@ -11,11 +11,6 @@ in {
|
|||
options.myModules.fieldseeker-sync.enable = mkEnableOption "custom fieldseeker-sync configuration";
|
||||
|
||||
config = mkIf config.myModules.fieldseeker-sync.enable {
|
||||
environment.etc."fieldseeker-sync.toml" = {
|
||||
group = "fieldseeker-sync";
|
||||
source = ./fieldseeker-sync.toml;
|
||||
user = "fieldseeker-sync";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
src
|
||||
];
|
||||
|
|
@ -34,7 +29,7 @@ in {
|
|||
mode = "0440";
|
||||
owner = "fieldseeker-sync";
|
||||
restartUnits = ["fieldseeker-sync.service"];
|
||||
sopsFile = ../../../secrets/fieldseeker-sync.env;
|
||||
sopsFile = ../../secrets/fieldseeker-sync.env;
|
||||
};
|
||||
systemd.services.fieldseeker-sync = {
|
||||
after=["network.target" "network-online.target"];
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[database]
|
||||
url = "postgres://fieldseeker:letmein@127.0.0.1:5432/fieldseeker"
|
||||
|
||||
[userfiles]
|
||||
directory = "/opt/fieldseeker-sync"
|
||||
Loading…
Add table
Add a link
Reference in a new issue