Files
nix-config/darwin/macbook2019.nix
2025-09-27 14:30:50 +02:00

20 lines
500 B
Nix

{ config, lib, pkgs, inputs, username, ... }:
{
networking.hostName = "macbook2019";
services.nix-daemon.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.hostPlatform = "x86_64-darwin"; # Intel Mac
# Required for backward compatibility
system.stateVersion = "25.04";
# User configuration
users.users.${username} = {
name = username;
home = "/Users/${username}";
};
# Enable zsh (common on macOS)
programs.zsh.enable = true;
}