diff options
author | pennae <github@quasiparticle.net> | 2021-11-26 01:16:05 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2021-12-02 22:35:04 +0100 |
commit | 25124556397ba17bfd70297000270de1e6523b0a (patch) | |
tree | a47a5e701f7ebd016871055c3032b8f6be4d0d6c /nixos/modules/services/audio | |
parent | 80c7745b4e8fae6e533475208fe947b0bcae3cdf (diff) | |
download | nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.gz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.bz2 nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.lz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.xz nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.tar.zst nixpkgs-25124556397ba17bfd70297000270de1e6523b0a.zip |
nixos/*: add trivial defaultText for options with simple defaults
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/icecast.nix | 1 | ||||
-rw-r--r-- | nixos/modules/services/audio/ympd.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/audio/icecast.nix b/nixos/modules/services/audio/icecast.nix index 6ca20a7a108..5ee5bd745f9 100644 --- a/nixos/modules/services/audio/icecast.nix +++ b/nixos/modules/services/audio/icecast.nix @@ -50,6 +50,7 @@ in { type = types.nullOr types.str; description = "DNS name or IP address that will be used for the stream directory lookups or possibily the playlist generation if a Host header is not provided."; default = config.networking.domain; + defaultText = literalExpression "config.networking.domain"; }; admin = { diff --git a/nixos/modules/services/audio/ympd.nix b/nixos/modules/services/audio/ympd.nix index 36c5527027f..84b72d14251 100644 --- a/nixos/modules/services/audio/ympd.nix +++ b/nixos/modules/services/audio/ympd.nix @@ -31,6 +31,7 @@ in { port = mkOption { type = types.int; default = config.services.mpd.network.port; + defaultText = literalExpression "config.services.mpd.network.port"; description = "The port where MPD is listening."; example = 6600; }; |