Fix pkgs evaluation scope

This commit is contained in:
2025-12-17 13:18:54 -05:00
parent 6fa37babe0
commit 86d2d2b0df

View File

@@ -1,27 +1,24 @@
# ============================================================================ # ============================================================================
# User Configuration for hdh20267 # User Configuration for hdh20267
# ============================================================================ # ============================================================================
# This file defines the user account configuration that will be merged into
# the NixOS system's ugaif.users namespace.
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
let
# Evaluate package references immediately in the function scope
zshPackage = pkgs.zsh;
homeConfig = ./home.nix;
in
{ {
# ========== User Metadata ==========
description = "HDH"; description = "HDH";
shell = pkgs.zsh; shell = zshPackage;
hashedPassword = "!"; hashedPassword = "!";
opensshKeys = [ opensshKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBC7xzHxY2BfFUybMvG4wHSF9oEAGzRiLTFEndLvWV/X hdh20267@engr733847d.engr.uga.edu" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBC7xzHxY2BfFUybMvG4wHSF9oEAGzRiLTFEndLvWV/X hdh20267@engr733847d.engr.uga.edu"
]; ];
# ========== External Home Configuration ========== home = homeConfig;
home = ./home.nix;
# ========== Additional ugaif Options ==========
useZshTheme = true; useZshTheme = true;
useNvimPlugins = true; useNvimPlugins = true;