dotfiles/modules/services/mosh.nix

21 lines
359 B
Nix

{ config, lib, pkgs, options, ... }:
with lib;
let
cfg = config.modules.services.mosh;
in {
options.modules.services.mosh = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
programs.mosh = {
enable = true;
# why is there not more config options???? oh well
};
};
}