mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/sunshine: add literalExpression for examples
This commit is contained in:
parent
ab3fc0538d
commit
34b255b69b
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, pkgs, utils, ... }:
|
||||
let
|
||||
inherit (lib) mkEnableOption mkPackageOption mkOption mkIf mkDefault types optionals getExe;
|
||||
inherit (lib) mkEnableOption mkPackageOption mkOption literalExpression mkIf mkDefault types optionals getExe;
|
||||
inherit (utils) escapeSystemdExecArgs;
|
||||
cfg = config.services.sunshine;
|
||||
|
||||
|
@ -39,7 +39,7 @@ in
|
|||
|
||||
See https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html#configuration for syntax.
|
||||
'';
|
||||
example = ''
|
||||
example = literalExpression ''
|
||||
{
|
||||
sunshine_name = "nixos";
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ in
|
|||
description = ''
|
||||
Configuration for applications to be exposed to Moonlight. If this is set, no configuration is possible from the web UI, and must be by the `settings` option.
|
||||
'';
|
||||
example = ''
|
||||
example = literalExpression ''
|
||||
{
|
||||
env = {
|
||||
PATH = "$(PATH):$(HOME)/.local/bin";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue