blob: 194fbdd2b3f69b5d3f9feb9261a280e61dc7f1e2 (
plain) (
tree)
|
|
{
adminUser,
pkgs,
...
}:
{
imports = [
../../../profiles/darwin.nix
../../../profiles/home-manager.nix
];
users = {
users.${adminUser.name} = {
home = "/Users/${adminUser.name}";
shell = pkgs.fish;
};
};
environment.shells = [ pkgs.fish ];
programs.fish.enable = true;
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
'';
home-manager.users.${adminUser.name} = {
home.stateVersion = "23.05";
home.username = "${adminUser.name}";
home.homeDirectory = "/Users/${adminUser.name}";
imports = [
../../../home/profiles/mac.nix
../../../home/profiles/work.nix
../../../home/profiles/workstation.nix
];
inherit (adminUser) userinfo;
};
}
|