From f23d023551668bea156c1cf64b13be9e9b08ddfb Mon Sep 17 00:00:00 2001 From: lsoriano-mcm Date: Sat, 7 Jun 2025 14:09:34 -0500 Subject: [PATCH] test --- config.default.nix | 2 +- nixos/macos/darwin.nix | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config.default.nix b/config.default.nix index cf73961..5fe6dcc 100644 --- a/config.default.nix +++ b/config.default.nix @@ -11,7 +11,7 @@ terminal = { termFont = "JetBrainsMono Nerd Font"; # e.g., JetBrainsMono Nerd Font termSize = "20"; - termShell = "fish"; + termShell = "zsh"; shellAliases = { ls = "ls --color=auto"; update = '' diff --git a/nixos/macos/darwin.nix b/nixos/macos/darwin.nix index f5299e9..193a1d2 100644 --- a/nixos/macos/darwin.nix +++ b/nixos/macos/darwin.nix @@ -2,6 +2,7 @@ pkgs, builder, terminal, + username, ... }: { # List packages installed in system profile. To search by name, run: @@ -30,11 +31,11 @@ # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin"; - users.users.lsoriano = { - name = "lsoriano"; - home = "/Users/lsoriano"; + users.users.${username} = { + name = "${username}"; + home = "/Users/${username}"; shell = pkgs.${terminal.termShell}; }; - home-manager.users.lsoriano = import ../../home/macos/home.nix; + home-manager.users.${username} = import ../../home/macos/home.nix; }