mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
nixos/services.logmein-hamachi: remove with lib;
This commit is contained in:
parent
196a14a174
commit
2e30f07cc0
1 changed files with 3 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue