summaryrefslogtreecommitdiff
path: root/modules/options/default.nix
blob: e66f0b3693d3cbd8fb669bf8a334147c8d9c11da (plain) (blame)
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
{ lib, ... }:
{
  imports = [
    ./mounts
    ./containers.nix
    ./networking.nix
    ./nix.nix
  ];

  options.modules =
    let
      inherit (lib) mkOption types;
    in
    {
      primaryUser = mkOption {
        default = null;
        type = types.str;
      };

      mosh.enable = mkOption {
        default = false;
        type = types.bool;
      };
    };
}