nixos/services.sundtek: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-30 00:46:49 +02:00
parent 5adb3502aa
commit 07819ffd98

View File

@ -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 ];