nextcloud: update skeleton, add german version #297

Merged
teutat3s merged 9 commits from nextcloud-skeleton into main 2025-02-28 12:47:00 +00:00
11 changed files with 35 additions and 1 deletions
Showing only changes of commit 453e3d96d1 - Show all commits
modules/nextcloud
overlays

View file

@ -92,7 +92,7 @@
auth.bruteforce.protection.enabled = true;
trashbin_retention_obligation = "auto,7";
skeletondirectory = "/var/lib/nextcloud/skeleton/{lang}";
skeletondirectory = "${pkgs.nextcloud-skeleton}/{lang}";
defaultapp = "file";
activity_expire_days = "14";
integrity.check.disabled = false;

View file

@ -17,6 +17,7 @@
element-stickerpicker = prev.callPackage ./pkgs/element-stickerpicker {
inherit (inputs) element-stickers maunium-stickerpicker;
};
nextcloud-skeleton = prev.callPackage ./pkgs/nextcloud-skeleton { };
}
)
];

View file

@ -0,0 +1,33 @@
# Based on:
# https://nix.dev/tutorials/working-with-local-files.html#union-explicitly-include-files
{
stdenvNoCC,
lib,
}:
let
fs = lib.fileset;
sourceFiles = fs.unions [
./en/Documents/Example.odt
./en/Pictures/pubsolar.png
./en/Pictures/pubsolar.svg
./en/Readme.md
./de/Dokumente/Beispiel.odt
./de/Fotos/pubsolar.png
./de/Fotos/pubsolar.svg
./de/Liesmich.md
];
in
fs.trace sourceFiles
stdenvNoCC.mkDerivation
{
name = "nextcloud-skeleton";
src = fs.toSource {
root = ./.;
fileset = sourceFiles;
};
postInstall = ''
cp -vr . $out
'';
}