Fix pkgs evaluation scope
This commit is contained in:
17
default.nix
17
default.nix
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user