diff options
| author | Fuwn <[email protected]> | 2024-10-28 07:20:06 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 07:20:06 -0700 |
| commit | 66aee595a1c230745614644261273615cbb53d5a (patch) | |
| tree | 5c22fb41ea498468bdafd91b186928992440c1f7 /modules/options | |
| parent | server: add harmonia (diff) | |
| download | nixos-config-66aee595a1c230745614644261273615cbb53d5a.tar.xz nixos-config-66aee595a1c230745614644261273615cbb53d5a.zip | |
core: allow mosh as optional
Diffstat (limited to 'modules/options')
| -rw-r--r-- | modules/options/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/modules/options/default.nix b/modules/options/default.nix index 4401826..39276d1 100644 --- a/modules/options/default.nix +++ b/modules/options/default.nix @@ -5,8 +5,18 @@ ./nix.nix ]; - options.modules.primaryUser = lib.options.mkOption { - default = null; - type = lib.types.str; - }; + options.modules = + with lib.options; + with lib.types; + { + primaryUser = mkOption { + default = null; + type = types.str; + }; + + mosh.enable = mkOption { + default = false; + type = types.bool; + }; + }; } |