aboutsummaryrefslogtreecommitdiff
path: root/modules/users/terminal/default.nix
blob: 937c08605a321219723fdd20adbb3c4861cc3570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  pkgs,
  config,
  lib,
  ...
}:
let
  inherit (lib) mkOption types;
  cfg = config.nx.terminal;
in
{
  imports = [
    ./foot.nix
    ./kitty.nix
  ];
  options.nx.terminal = {
    font = mkOption {
      description = "default font";
      default = "Victor Mono";
    };

    multiplexer = mkOption {
      type = types.enum [ "tmux" ];
      default = "tmux";
    };

    defaultShell = mkOption {
      description = "default shell";
      type = types.enum [
        "bash"
        "zsh"
      ];
      default = "bash";
    };
  };
}