mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 21:03:25 +00:00
26 lines
467 B
Nix
26 lines
467 B
Nix
{
|
|
pkgs,
|
|
self,
|
|
username,
|
|
hostname,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../modules/base.nix
|
|
../../modules/macos.nix
|
|
../../modules/packages.nix
|
|
../../modules/homebrew.nix
|
|
];
|
|
|
|
networking.hostName = hostname;
|
|
|
|
users.users.${username} = {
|
|
name = username;
|
|
home = "/Users/${username}";
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
system.primaryUser = username;
|
|
system.configurationRevision = self.rev or self.dirtyRev or null;
|
|
system.stateVersion = 6;
|
|
}
|