22 lines
526 B
Nix
22 lines
526 B
Nix
{ self, ... }:
|
|
|
|
{
|
|
# Set Git commit hash for darwin-version.
|
|
system.configurationRevision = self.rev or self.dirtyRev or null;
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
# $ darwin-rebuild changelog
|
|
system.stateVersion = 6;
|
|
|
|
# The platform the configuration will be used on.
|
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
|
nixpkgs.config = { allowUnfree = true; };
|
|
|
|
users.users.andrei = {
|
|
home = "/Users/andrei";
|
|
name = "andrei";
|
|
};
|
|
|
|
system.primaryUser = "andrei";
|
|
}
|