diff --git a/flake.nix b/flake.nix index fd6852a..110158b 100644 --- a/flake.nix +++ b/flake.nix @@ -117,6 +117,7 @@ ./modules/auto-update ./modules/services/repo-sync ./modules/services/moodle-dl + ./modules/web/peertube ./modules/users/jopejoe1 ./modules/users/root ./overlays diff --git a/modules/web/peertube/default.nix b/modules/web/peertube/default.nix new file mode 100644 index 0000000..bbc5982 --- /dev/null +++ b/modules/web/peertube/default.nix @@ -0,0 +1,11 @@ +{ ... }: + +{ + services.peertube = { + enable = true; + secrets.secretsFile = "/run/secrets/peertube"; + redis.createLocally = true; + database.createLocally = true; + localDomain = "peertube.local"; + }; +} diff --git a/overlays/default.nix b/overlays/default.nix index 6804739..ca91d5b 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -18,6 +18,10 @@ doCheck = false; }); + redis = super.redis.overrideAttrs (_old: { + doCheck = false; + }); + haskellPackages = super.haskellPackages.override { overrides = hsSelf: hsSuper: { crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {