mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-05-29 18:34:16 +02:00
12 lines
309 B
Nix
12 lines
309 B
Nix
{ 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;
|
|
};
|
|
}
|