about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAcid Bong <acidbong@tilde.club>2024-04-17 22:45:01 +0300
committerGitHub <noreply@github.com>2024-04-17 21:45:01 +0200
commit418cc441066ffa3b9452de100fa7aa97fc2867c6 (patch)
treec7f43564abe8ce7c7d3f4a74cd8a12a5930f3b4c /nixos
parent288f6637a3444a73bba0ed5fda2fab85f1aab1db (diff)
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
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/programs/soundmodem.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/soundmodem.nix b/nixos/modules/programs/soundmodem.nix
index 59c1f2fb2dedd..ab992c63c6088 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 = {