20 lines
500 B
Nix
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;
|
|
}
|