working without option, but still referenced

This commit is contained in:
John Lancaster
2025-06-30 19:34:45 -05:00
parent bb145deb8e
commit 8900ac44f0
3 changed files with 27 additions and 17 deletions

14
options.nix Normal file
View File

@@ -0,0 +1,14 @@
{ lib, ... }:
{
options.user = lib.mkOption {
type = lib.types.str;
description = "The username for the Home Manager configuration.";
};
options.profile = lib.mkOption {
type = lib.types.enum [ "personal" "work" ];
default = "personal";
description = "Profile type for the Home Manager configuration.";
};
}