about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFelix Buehler2024-08-24 22:05:50 +0200
committerFelix Buehler2024-08-30 23:00:54 +0200
commiteeed115e37941d9e21adba217c125a3c8d8d41b0 (patch)
tree7399f7386786337913f3f18cd11b78810af94bfc /nixos
parentb48bee9985f8d39e690a2d6fbfec0d03947ab9a0 (diff)
nixos/services.novacomd: remove `with lib;`
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/novacomd.nix9
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 ];
 }