24 lines
538 B
Nix
24 lines
538 B
Nix
{ ... }:
|
|
{
|
|
_class = "clan.service";
|
|
manifest.name = "pingvin";
|
|
manifest.description = "A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.";
|
|
manifest.categories = [ "System" ];
|
|
|
|
roles.default = {
|
|
|
|
perInstance.nixosModule =
|
|
{
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
services.pingvin-share = {
|
|
enable = true;
|
|
};
|
|
|
|
clan.core.state.pingvin-share.folders = [ config.services.pingvin-share.dataDir ];
|
|
};
|
|
};
|
|
}
|