nixos/services.sdrplayApi: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-30 00:46:46 +02:00
parent 1d3ea1dbe5
commit 1bf69e64ec

View File

@ -1,8 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
{
options.services.sdrplayApi = {
enable = mkOption {
enable = lib.mkOption {
default = false;
example = true;
description = ''
@ -17,7 +16,7 @@ with lib;
};
};
config = mkIf config.services.sdrplayApi.enable {
config = lib.mkIf config.services.sdrplayApi.enable {
systemd.services.sdrplayApi = {
description = "SDRplay API Service";
after = [ "network.target" ];