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