nixos/services.safeeyes: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-30 00:46:45 +02:00
parent e3f2e1c9fb
commit 1d3ea1dbe5

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.safeeyes;
@ -16,7 +13,7 @@ in
services.safeeyes = {
enable = mkEnableOption "the safeeyes OSGi service";
enable = lib.mkEnableOption "the safeeyes OSGi service";
};
@ -24,7 +21,7 @@ in
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.safeeyes ];