Move forgejo package conf to correct location
This commit is contained in:
parent
91092c3cda
commit
ae856e1c9e
1 changed files with 12 additions and 13 deletions
|
@ -78,6 +78,18 @@ in
|
||||||
file = "forgejo_backup";
|
file = "forgejo_backup";
|
||||||
backupDir = "/backups";
|
backupDir = "/backups";
|
||||||
};
|
};
|
||||||
|
package = pkgs.forgejo.overrideAttrs (
|
||||||
|
prev: {
|
||||||
|
postInstall = builtins.concatStringsSep "\n" [
|
||||||
|
prev.postInstall
|
||||||
|
''
|
||||||
|
chmod -R u+w $data/templates/custom/
|
||||||
|
cp ${./home.tmpl} $data/templates/custom/
|
||||||
|
chmod -R u-w $data/templates/custom/
|
||||||
|
''
|
||||||
|
];
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
openssh = {
|
openssh = {
|
||||||
|
@ -105,17 +117,4 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
package = pkgs.forgejo.overrideAttrs (
|
|
||||||
prev: {
|
|
||||||
postInstall = builtins.concatStringsSep "\n" [
|
|
||||||
prev.postInstall
|
|
||||||
''
|
|
||||||
chmod -R u+w $data/templates/custom/
|
|
||||||
cp ${./home.tmpl} $data/templates/custom/
|
|
||||||
chmod -R u-w $data/templates/custom/
|
|
||||||
''
|
|
||||||
];
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue