convention?

This commit is contained in:
2025-08-18 23:16:22 -05:00
parent 6fbed5161a
commit ce2d635b85

View File

@@ -3,10 +3,11 @@
options.sysconfig = with lib; {
users = let
userType = types.submodule ({ username, ... }: {
userType = types.submodule ({ name, ... }: {
options = with lib; {
username = mkOption {
type = with types; passwdEntry str;
default = name;
};
home-manager = {
@@ -54,7 +55,7 @@
};
config = {
username = lib.mkDefault username;
username = lib.mkDefault name;
};
});