dotfiles/modules/services/mosh.nix

21 lines
359 B
Nix
Raw Permalink Normal View History

2022-11-15 06:19:54 +01:00
{ config, lib, pkgs, options, ... }:
with lib;
let
2022-11-17 00:50:45 +01:00
cfg = config.modules.services.mosh;
2022-11-15 06:19:54 +01:00
in {
2022-11-17 00:50:45 +01:00
options.modules.services.mosh = {
2022-11-15 06:19:54 +01:00
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.enable {
2022-11-17 00:51:36 +01:00
programs.mosh = {
enable = true;
# why is there not more config options???? oh well
2022-11-15 06:19:54 +01:00
};
};
}