From 418cc441066ffa3b9452de100fa7aa97fc2867c6 Mon Sep 17 00:00:00 2001 From: Acid Bong Date: Wed, 17 Apr 2024 22:45:01 +0300 Subject: [PATCH] nixos/soundmodem: drop lib.mdDoc, use package option everywhere (#304811) - Fixed the `systemPackages` definition: it contained just the package name without preceding `pkgs` - Removed `lib.mdDoc` usage in accordance with #303841 --- nixos/modules/programs/soundmodem.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/programs/soundmodem.nix b/nixos/modules/programs/soundmodem.nix index 59c1f2fb2ded..ab992c63c608 100644 --- a/nixos/modules/programs/soundmodem.nix +++ b/nixos/modules/programs/soundmodem.nix @@ -11,7 +11,7 @@ in enable = mkOption { type = types.bool; default = false; - description = lib.mdDoc '' + description = '' Whether to add Soundmodem to the global environment and configure a wrapper for 'soundmodemconfig' for users in the 'soundmodem' group. ''; @@ -21,7 +21,7 @@ in }; config = mkIf cfg.enable { - environment.systemPackages = [ soundmodem ]; + environment.systemPackages = [ cfg.package ]; users.groups.soundmodem = { }; security.wrappers.soundmodemconfig = {