From 07819ffd98dea66babe72bfd6ddf4411c5d0062f Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Fri, 30 Aug 2024 00:46:49 +0200 Subject: [PATCH] nixos/services.sundtek: remove `with lib;` --- nixos/modules/services/misc/sundtek.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nixos/modules/services/misc/sundtek.nix b/nixos/modules/services/misc/sundtek.nix index e3234518c940..089d86cb5972 100644 --- a/nixos/modules/services/misc/sundtek.nix +++ b/nixos/modules/services/misc/sundtek.nix @@ -1,17 +1,14 @@ { config, lib, pkgs, ... }: - -with lib; - let cfg = config.services.sundtek; in { options.services.sundtek = { - enable = mkEnableOption "Sundtek driver"; + enable = lib.mkEnableOption "Sundtek driver"; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { environment.systemPackages = [ pkgs.sundtek ];