config: replaced options and config with options.shell and config.shell

This commit is contained in:
Devyn Freet
2026-07-11 00:08:56 -04:00
parent 368f092bd3
commit 02882967c8
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ config, lib, ... }:
{
options = {
options.shell = {
name = lib.mkOption {
type = lib.types.str;
#default = "nyx";
+3 -3
View File
@@ -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 = {