mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
parent
288f6637a3
commit
418cc44106
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user