First inklings of fieldseeker-sync building for our sync host
This commit is contained in:
parent
5e59add85b
commit
25739ab71b
3 changed files with 20 additions and 0 deletions
|
|
@ -2,4 +2,5 @@
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
myModules.fieldseeker-sync.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
./cloudreve.nix
|
./cloudreve.nix
|
||||||
./do-agent.nix
|
./do-agent.nix
|
||||||
./element-web.nix
|
./element-web.nix
|
||||||
|
./fieldseeker-sync.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./librechat.nix
|
./librechat.nix
|
||||||
./openssh.nix
|
./openssh.nix
|
||||||
|
|
|
||||||
18
modules/system/fieldseeker-sync.nix
Normal file
18
modules/system/fieldseeker-sync.nix
Normal 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 { })
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue