dotfiles/modules/services/mosh.nix

23 lines
382 B
Nix
Raw 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 {
services = {
2022-11-17 00:50:45 +01:00
mosh = {
2022-11-15 06:19:54 +01:00
enable = true;
2022-11-17 00:50:45 +01:00
# why is there not more config options???? oh well
2022-11-15 06:19:54 +01:00
};
};
};
}