nixos/services.novacomd: remove with lib;

This commit is contained in:
Felix Buehler
2024-08-30 23:00:54 +02:00
parent b48bee9985
commit eeed115e37
+3 -6
View File
@@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.novacomd;
@@ -10,11 +7,11 @@ in {
options = {
services.novacomd = {
enable = mkEnableOption "Novacom service for connecting to WebOS devices";
enable = lib.mkEnableOption "Novacom service for connecting to WebOS devices";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.webos.novacom ];
systemd.services.novacomd = {
@@ -27,5 +24,5 @@ in {
};
};
meta.maintainers = with maintainers; [ dtzWill ];
meta.maintainers = with lib.maintainers; [ dtzWill ];
}