94eb65a287
We need the pipewire service to actually use this. Tested with g-c-c Sharing.
24 lines
499 B
Nix
24 lines
499 B
Nix
# Remote desktop daemon using Pipewire.
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
meta = {
|
|
maintainers = teams.gnome.members;
|
|
};
|
|
|
|
###### interface
|
|
options = {
|
|
services.gnome3.gnome-remote-desktop = {
|
|
enable = mkEnableOption "Remote Desktop support using Pipewire";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
config = mkIf config.services.gnome3.gnome-remote-desktop.enable {
|
|
services.pipewire.enable = true;
|
|
|
|
systemd.packages = [ pkgs.gnome3.gnome-remote-desktop ];
|
|
};
|
|
}
|