From 02882967c85683ec23c50f6f73c610e0cb91358f Mon Sep 17 00:00:00 2001 From: Devyn Freet Date: Sat, 11 Jul 2026 00:08:56 -0400 Subject: [PATCH] config: replaced options and config with options.shell and config.shell --- home/options.nix | 2 +- home/shell.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/options.nix b/home/options.nix index 6489064..8568e24 100644 --- a/home/options.nix +++ b/home/options.nix @@ -1,6 +1,6 @@ { config, lib, ... }: { - options = { + options.shell = { name = lib.mkOption { type = lib.types.str; #default = "nyx"; diff --git a/home/shell.nix b/home/shell.nix index dfbe7c5..55d5864 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -2,8 +2,8 @@ { pkgs, config, ... }: let - name = "${config.name}"; - homeDir = "${config.homeDirectory}"; + name = "${config.shell.name}"; + homeDir = "${config.shell.homeDirectory}"; myAliases = { ll = "ls -hl"; la = "ls -ahl"; @@ -67,7 +67,7 @@ in enable = true; settings.user = { inherit name; - email = config.email; + email = config.shell.email; }; }; starship = {