Added: Darwin Config
This commit is contained in:
19
darwin/macbook2019.nix
Normal file
19
darwin/macbook2019.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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;
|
||||
}
|
Reference in New Issue
Block a user