feat: pull dynamic names for Darwin/Home

This commit is contained in:
Greg Hellings
2026-04-06 16:21:02 -05:00
parent 0d70a9e018
commit 6b7f54d0a2
15 changed files with 64 additions and 49 deletions
+54
View File
@@ -0,0 +1,54 @@
{
pkgs,
lib,
...
}:
let
username = "greg";
in
{
# Disables hitting local cache
_module.args.cache = lib.mkForce false;
greg = {
development = true;
gui = true;
nix.cache = false;
zed = true;
};
home = {
packages = with pkgs; [
ansible
direnv
home-manager
python3Packages.ipython
just
nixVersions.stable
pre-commit
];
username = username;
homeDirectory = "/Users/${username}";
};
programs = {
direnv = {
enable = true;
enableNushellIntegration = true;
};
nushell = {
enable = true;
};
starship = {
enable = true;
enableNushellIntegration = true;
settings = {
directory = {
home_symbol = "~";
truncate_to_repo = false;
truncation_length = 0;
use_os_path_sep = true;
};
};
};
};
}