enable mosh

This commit is contained in:
2025-09-23 19:23:35 -04:00
parent ff62814436
commit 1d9517a37f
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
{ config, lib, namespace, ... }:
let
inherit (lib) mkIf;
cfg = config.${namespace}.services.mosh;
in
{
options.${namespace}.services.mosh = {
enable = lib.mkEnableOption "mosh support";
};
config = mkIf cfg.enable {
programs.mosh = {
enable = true;
openFirewall = true;
};
};
}