From a45c4551712c1ba5cb82eaf290f311ab0e8690e4 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 9 Jun 2025 17:40:46 +0000 Subject: big changes --- modules/user/options.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/user/options.nix (limited to 'modules/user/options.nix') diff --git a/modules/user/options.nix b/modules/user/options.nix new file mode 100644 index 0000000..f5c7a5f --- /dev/null +++ b/modules/user/options.nix @@ -0,0 +1,23 @@ +{ + config, + lib, + ... +}: let + inherit (lib) mkOption types; +in { + options = { + collinux.user = { + name = mkOption { + type = types.str; + }; + password = mkOption { + type = types.str; + description = "hashed password for user"; + }; + isAdmin = mkOption { + type = types.bool; + default = true; + }; + }; + }; +} -- cgit v1.3.1