fix?: set default values for name and homeDirectory options

This commit is contained in:
Devyn Freet
2026-07-10 23:13:58 -04:00
parent 79808ec949
commit 013231c401
+9 -3
View File
@@ -1,7 +1,13 @@
{ lib, ... }:
{ config, lib, ... }:
{
options = {
name = lib.mkOption { type = lib.types.str; };
homeDirectory = lib.mkOption { type = lib.types.path; };
name = lib.mkOption {
type = lib.types.str;
default = "nyx";
};
homeDirectory = lib.mkOption {
type = lib.types.path;
default = /home/${config.name};
};
};
}