diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix b/nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix index 3e7c6b01b3e9..b2ed100fc5ab 100644 --- a/nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix +++ b/nixpkgs/nixos/modules/services/x11/display-managers/xpra.nix @@ -16,34 +16,34 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Whether to enable xpra as display manager."; + description = "Whether to enable xpra as display manager."; }; bindTcp = mkOption { default = "127.0.0.1:10000"; example = "0.0.0.0:10000"; type = types.nullOr types.str; - description = lib.mdDoc "Bind xpra to TCP"; + description = "Bind xpra to TCP"; }; desktop = mkOption { type = types.nullOr types.str; default = null; example = "gnome-shell"; - description = lib.mdDoc "Start a desktop environment instead of seamless mode"; + description = "Start a desktop environment instead of seamless mode"; }; auth = mkOption { type = types.str; default = "pam"; example = "password:value=mysecret"; - description = lib.mdDoc "Authentication to use when connecting to xpra"; + description = "Authentication to use when connecting to xpra"; }; - pulseaudio = mkEnableOption (lib.mdDoc "pulseaudio audio streaming"); + pulseaudio = mkEnableOption "pulseaudio audio streaming"; extraOptions = mkOption { - description = lib.mdDoc "Extra xpra options"; + description = "Extra xpra options"; default = []; type = types.listOf types.str; }; @@ -226,7 +226,7 @@ in VideoRam 192000 ''; - services.xserver.displayManager.job.execCmd = '' + services.displayManager.execCmd = '' ${optionalString (cfg.pulseaudio) "export PULSE_COOKIE=/run/pulse/.config/pulse/cookie"} exec ${pkgs.xpra}/bin/xpra ${if cfg.desktop == null then "start" else "start-desktop --start=${cfg.desktop}"} \ |