2021-05-20 23:08:51 +00:00
|
|
|
# Remote desktop daemon using Pipewire.
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
meta = {
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Added 2021-05-07
|
|
|
|
imports = [
|
|
|
|
(mkRenamedOptionModule
|
|
|
|
[ "services" "gnome3" "gnome-remote-desktop" "enable" ]
|
|
|
|
[ "services" "gnome" "gnome-remote-desktop" "enable" ]
|
|
|
|
)
|
|
|
|
];
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.gnome.gnome-remote-desktop = {
|
2022-09-09 14:08:57 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "Remote Desktop support using Pipewire");
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf config.services.gnome.gnome-remote-desktop.enable {
|
|
|
|
services.pipewire.enable = true;
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.gnome.gnome-remote-desktop ];
|
|
|
|
};
|
|
|
|
}
|