First inklings of fieldseeker-sync building for our sync host

This commit is contained in:
Eli Ribble 2025-08-18 19:38:41 +00:00
parent 5e59add85b
commit 25739ab71b
3 changed files with 20 additions and 0 deletions

View file

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

View file

@ -0,0 +1,18 @@
{ pkgs, lib, config, ... }:
with lib;
let
src = pkgs.fetchFromGitHub {
owner = "Gleipnir-Technology";
repo = "fieldseeker-sync";
rev = "ff56a904cc9212434a1f8025cafafe59f8b48b4f";
sha256 = "sha256-J2k3a960TT31eNp77wKUGJJZSaEYI9ENyVgxxY/RMls=";
};
in {
options.myModules.fieldseeker-sync.enable = mkEnableOption "custom fieldseeker-sync configuration";
config = mkIf config.myModules.fieldseeker-sync.enable {
environment.systemPackages = [
(pkgs.callPackage src { })
];
};
}