add nextcloud client

This commit is contained in:
Thilo Billerbeck 2025-04-01 20:47:24 +02:00
parent fad3eed964
commit 5db76aec8d
2 changed files with 13 additions and 0 deletions
home-manager

View file

@ -19,6 +19,7 @@ with lib;
./../programs/htop.nix
./../programs/kitty.nix
./../programs/neovim.nix
./../programs/nextcloud-client.nix
./../programs/starship.nix
./../programs/topgrade.nix
./../programs/yt-dlp.nix

View file

@ -0,0 +1,12 @@
{ pkgs, config, ... }:
let
nixGL = config.lib.nixGL.wrap;
in
{
services.nextcloud-client = {
enable = if (config.machine.isGraphical) then true else false;
package = if (config.machine.isGeneric) then (nixGL pkgs.nextcloud-client) else pkgs.nextcloud-client;
startInBackground = true;
};
}