Skip to content

Commit

Permalink
nixos/soundmodem: drop lib.mdDoc, use package option everywhere (#304811
Browse files Browse the repository at this point in the history
)

- Fixed the `systemPackages` definition: it contained just the package
  name without preceding `pkgs`
- Removed `lib.mdDoc` usage in accordance with #303841
  • Loading branch information
acid-bong authored Apr 17, 2024
1 parent 288f663 commit 418cc44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/programs/soundmodem.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'';
Expand All @@ -21,7 +21,7 @@ in
};

config = mkIf cfg.enable {
environment.systemPackages = [ soundmodem ];
environment.systemPackages = [ cfg.package ];
users.groups.soundmodem = { };

security.wrappers.soundmodemconfig = {
Expand Down

0 comments on commit 418cc44

Please sign in to comment.