blob: d1712b089ba09960ba010492685b5cbba33dad6d (
plain) (
tree)
|
|
{
adminUser,
pkgs,
self,
...
}:
{
imports = [
{
home-manager.users.${adminUser.name} = {
home.homeDirectory = "/Users/${adminUser.name}";
imports = [
./home.nix
{ home.stateVersion = "23.05"; }
];
inherit (adminUser) userinfo;
programs.git.userEmail = "fcuny@roblox.com";
};
}
"${self}/profiles/programs/home-manager.nix"
];
system.primaryUser = adminUser.name;
users = {
users.${adminUser.name} = {
home = "/Users/${adminUser.name}";
};
};
environment.shells = [ pkgs.fish ];
programs.fish.shellInit = ''
# Nix
if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'
end
# End Nix
'';
}
|