mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
33 lines
693 B
Nix
33 lines
693 B
Nix
# 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 = {
|
|
enable = mkEnableOption "Remote Desktop support using Pipewire";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
config = mkIf config.services.gnome.gnome-remote-desktop.enable {
|
|
services.pipewire.enable = true;
|
|
|
|
systemd.packages = [ pkgs.gnome.gnome-remote-desktop ];
|
|
};
|
|
}
|