nixos/services.logmein-hamachi: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-28 21:19:11 +02:00 committed by Jörg Thalheim
parent 196a14a174
commit 2e30f07cc0

View File

@ -1,7 +1,4 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.logmein-hamachi;
@ -14,8 +11,8 @@ in
options = {
services.logmein-hamachi.enable = mkOption {
type = types.bool;
services.logmein-hamachi.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable LogMeIn Hamachi, a proprietary
@ -28,7 +25,7 @@ in
###### implementation
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
systemd.services.logmein-hamachi = {
description = "LogMeIn Hamachi Daemon";