resilio: update to unstable module
All checks were successful
flake / flake (push) Successful in 2m19s
All checks were successful
flake / flake (push) Successful in 2m19s
Currently this pins `rslsync`'s group ID using https://github.com/NixOS/nixpkgs/pull/350055
This commit is contained in:
parent
ba9d54ddab
commit
390bdaaf51
@ -90,7 +90,7 @@ in
|
|||||||
in
|
in
|
||||||
builtins.map (mkFolder) folderNames;
|
builtins.map (mkFolder) folderNames;
|
||||||
};
|
};
|
||||||
services.resilio.directoryRoot = "/${zpool_name}/users/jake/sync";
|
services.resilio.directoryRoot = "/${zpool_name}/sync";
|
||||||
|
|
||||||
## Chia
|
## Chia
|
||||||
age.secrets."chia/farmer.key" = {
|
age.secrets."chia/farmer.key" = {
|
||||||
|
@ -50,6 +50,10 @@ in
|
|||||||
path = lib.mkOverride 999 "/data/chia";
|
path = lib.mkOverride 999 "/data/chia";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.resilio = lib.mkIf config.services.resilio.enable {
|
||||||
|
directoryRoot = lib.mkOverride 999 "${cfg.base}/sync";
|
||||||
|
};
|
||||||
|
|
||||||
services.plex = lib.mkIf config.services.plex.enable {
|
services.plex = lib.mkIf config.services.plex.enable {
|
||||||
dataDir = lib.mkOverride 999 "/data/plex";
|
dataDir = lib.mkOverride 999 "/data/plex";
|
||||||
};
|
};
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, nixpkgs-unstable, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.custom.resilio;
|
cfg = config.custom.resilio;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [ "${nixpkgs-unstable}/nixos/modules/services/networking/resilio.nix" ];
|
||||||
|
disabledModules = [ "services/networking/resilio.nix" ];
|
||||||
|
|
||||||
options.custom.resilio = {
|
options.custom.resilio = {
|
||||||
enable = lib.mkEnableOption "resilio";
|
enable = lib.mkEnableOption "resilio";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user