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 {
|
enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
Whether to add Soundmodem to the global environment and configure a
|
Whether to add Soundmodem to the global environment and configure a
|
||||||
wrapper for 'soundmodemconfig' for users in the 'soundmodem' group.
|
wrapper for 'soundmodemconfig' for users in the 'soundmodem' group.
|
||||||
'';
|
'';
|
||||||
|
@ -21,7 +21,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = [ soundmodem ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
users.groups.soundmodem = { };
|
users.groups.soundmodem = { };
|
||||||
|
|
||||||
security.wrappers.soundmodemconfig = {
|
security.wrappers.soundmodemconfig = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user