From 4d8c75f900be33317feb360f70d1ffcf7df63726 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 28 Oct 2024 09:46:57 -0700 Subject: core: move mosh options level up --- modules/core/access/mosh.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/core/access/mosh.nix b/modules/core/access/mosh.nix index 7d6d7e9..bc37257 100644 --- a/modules/core/access/mosh.nix +++ b/modules/core/access/mosh.nix @@ -1,9 +1,7 @@ { config, lib, ... }: { - config = lib.mkIf config.modules.mosh.enable { - programs.mosh = { - enable = true; - openFirewall = false; - }; + config.programs.mosh = lib.mkIf config.modules.mosh.enable { + enable = true; + openFirewall = false; }; } -- cgit v1.2.3