mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 08:46:52 +01:00
enable peertube
This commit is contained in:
parent
f587e19962
commit
83825032da
3 changed files with 16 additions and 0 deletions
|
@ -117,6 +117,7 @@
|
||||||
./modules/auto-update
|
./modules/auto-update
|
||||||
./modules/services/repo-sync
|
./modules/services/repo-sync
|
||||||
./modules/services/moodle-dl
|
./modules/services/moodle-dl
|
||||||
|
./modules/web/peertube
|
||||||
./modules/users/jopejoe1
|
./modules/users/jopejoe1
|
||||||
./modules/users/root
|
./modules/users/root
|
||||||
./overlays
|
./overlays
|
||||||
|
|
11
modules/web/peertube/default.nix
Normal file
11
modules/web/peertube/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.peertube = {
|
||||||
|
enable = true;
|
||||||
|
secrets.secretsFile = "/run/secrets/peertube";
|
||||||
|
redis.createLocally = true;
|
||||||
|
database.createLocally = true;
|
||||||
|
localDomain = "peertube.local";
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,6 +18,10 @@
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
redis = super.redis.overrideAttrs (_old: {
|
||||||
|
doCheck = false;
|
||||||
|
});
|
||||||
|
|
||||||
haskellPackages = super.haskellPackages.override {
|
haskellPackages = super.haskellPackages.override {
|
||||||
overrides = hsSelf: hsSuper: {
|
overrides = hsSelf: hsSuper: {
|
||||||
crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {
|
crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {
|
||||||
|
|
Loading…
Reference in a new issue