Remove fieldseeker-sync.toml config file

It's all configured via environment variables now.
This commit is contained in:
Eli Ribble 2025-08-18 21:46:02 +00:00
parent f277375075
commit b91bb281e0
3 changed files with 2 additions and 12 deletions

View file

@ -9,7 +9,7 @@
./cloudreve.nix
./do-agent.nix
./element-web.nix
./fieldseeker-sync
./fieldseeker-sync.nix
./fish.nix
./librechat.nix
./openssh.nix

View file

@ -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"];

View file

@ -1,5 +0,0 @@
[database]
url = "postgres://fieldseeker:letmein@127.0.0.1:5432/fieldseeker"
[userfiles]
directory = "/opt/fieldseeker-sync"