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
This commit is contained in:
Acid Bong 2024-04-17 22:45:01 +03:00 committed by GitHub
parent 288f6637a3
commit 418cc44106
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {