let
env = config.myEnv.tools.peertube;
cfg = config.myServices.websites.tools.peertube;
- pcfg = config.services.peertube;
+ pcfg = config.immaeServices.peertube;
in {
options.myServices.websites.tools.peertube = {
enable = lib.mkEnableOption "enable Peertube's website";
};
config = lib.mkIf cfg.enable {
- services.peertube = {
+ immaeServices.peertube = {
enable = true;
configFile = config.secrets.fullPaths."webapps/tools-peertube";
};