diff options
Diffstat (limited to 'modules/darwin/default.nix')
| -rw-r--r-- | modules/darwin/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix new file mode 100644 index 0000000..5b487ef --- /dev/null +++ b/modules/darwin/default.nix @@ -0,0 +1,36 @@ +{ pkgs, ... }: + +{ + imports = [ + ./homebrew.nix + ./macos.nix + ]; + + # Nix is managed by Determinate installer + nix.enable = false; + + # Allow unfree packages + nixpkgs.config.allowUnfree = true; + + # System state version – do not change after first installation + system.stateVersion = 5; + + # Primary user for system defaults and homebrew + system.primaryUser = "cobraz"; + + # Enable Touch ID for sudo + security.pam.services.sudo_local.touchIdAuth = true; + + # Remap Caps Lock to Escape + system.keyboard = { + enableKeyMapping = true; + remapCapsLockToEscape = true; + }; + + # Core system packages available to all users + environment.systemPackages = with pkgs; [ + curl + git + wget + ]; +} |
