diff options
author | Felix Buehler | 2024-08-24 22:05:50 +0200 |
---|---|---|
committer | Felix Buehler | 2024-08-30 23:00:54 +0200 |
commit | eeed115e37941d9e21adba217c125a3c8d8d41b0 (patch) | |
tree | 7399f7386786337913f3f18cd11b78810af94bfc /nixos | |
parent | b48bee9985f8d39e690a2d6fbfec0d03947ab9a0 (diff) |
nixos/services.novacomd: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/misc/novacomd.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nixos/modules/services/misc/novacomd.nix b/nixos/modules/services/misc/novacomd.nix index 7cfc68d2b673..52423ff0668f 100644 --- a/nixos/modules/services/misc/novacomd.nix +++ b/nixos/modules/services/misc/novacomd.nix @@ -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 ]; } |