samsung-unified-linux-driver_1_00_36: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-13 22:11:44 +02:00 committed by Valentin Gagarin
parent df46afcb61
commit eb4b691723

View File

@ -15,17 +15,16 @@
# again after turning the device off and on. atm i have no idea how
# to fix this and no time to do more about it.
{config, pkgs, lib ? pkgs.lib, ...}:
with lib;
let
cfg = config.services.samsung-unified-linux-driver_1_00_36;
pkg = pkgs.samsung-unified-linux-driver_1_00_36;
in {
options = {
services.samsung-unified-linux-driver_1_00_36 = {
enable = mkEnableOption "samsung-unified-linux-driver_1_00_36";
enable = lib.mkEnableOption "samsung-unified-linux-driver_1_00_36";
};
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
services.printing.drivers = [pkg];
hardware.sane.extraBackends = [pkg];
environment.etc = {