1
0
mirror of https://github.com/tboerger/nixos-config synced 2026-05-03 04:09:04 +02:00
Files
2026-02-26 14:26:50 +01:00

34 lines
415 B
Nix

{
pkgs,
lib,
config,
options,
...
}:
with lib;
let
cfg = config.profile.services.nextcloud;
in
{
options = {
profile = {
services = {
nextcloud = {
enable = mkEnableOption "Nextcloud";
};
};
};
};
config = mkIf cfg.enable {
services = {
nextcloud-client = {
enable = true;
startInBackground = true;
};
};
};
}