From 013231c401d064fa7bfa211276f285bf076ee984 Mon Sep 17 00:00:00 2001 From: Devyn Freet Date: Fri, 10 Jul 2026 23:13:58 -0400 Subject: [PATCH] fix?: set default values for name and homeDirectory options --- home/options.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/home/options.nix b/home/options.nix index 9c11df1..01b0996 100644 --- a/home/options.nix +++ b/home/options.nix @@ -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}; + }; }; }