Added: Darwin Config

This commit is contained in:
2025-09-27 14:30:25 +02:00
parent 03aebab782
commit 26461fbf13
11 changed files with 1333 additions and 0 deletions

19
darwin/macbook2019.nix Normal file
View 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;
}