diff options
| author | Fuwn <[email protected]> | 2024-10-28 07:20:06 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 07:20:06 -0700 |
| commit | 66aee595a1c230745614644261273615cbb53d5a (patch) | |
| tree | 5c22fb41ea498468bdafd91b186928992440c1f7 /modules/core/access | |
| parent | server: add harmonia (diff) | |
| download | nixos-config-66aee595a1c230745614644261273615cbb53d5a.tar.xz nixos-config-66aee595a1c230745614644261273615cbb53d5a.zip | |
core: allow mosh as optional
Diffstat (limited to 'modules/core/access')
| -rw-r--r-- | modules/core/access/mosh.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/core/access/mosh.nix b/modules/core/access/mosh.nix index c9af5bf..7d6d7e9 100644 --- a/modules/core/access/mosh.nix +++ b/modules/core/access/mosh.nix @@ -1,6 +1,9 @@ +{ config, lib, ... }: { - programs.mosh = { - enable = true; - openFirewall = false; + config = lib.mkIf config.modules.mosh.enable { + programs.mosh = { + enable = true; + openFirewall = false; + }; }; } |