nixos/modules/desktop/apps/nextcloud/default.nix
2024-08-01 16:24:09 +04:00

21 lines
319 B
Nix

{
outputs,
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.desktop.apps.nextcloud;
in {
options.modules.desktop.apps.nextcloud = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
nextcloud-client
];
};
}