25 lines
499 B
Nix
25 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 ];
|
||
|
};
|
||
|
}
|