aboutsummaryrefslogtreecommitdiffstats
path: root/modules/darwin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/darwin/default.nix')
-rw-r--r--modules/darwin/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix
new file mode 100644
index 0000000..5474b91
--- /dev/null
+++ b/modules/darwin/default.nix
@@ -0,0 +1,27 @@
+{ pkgs, ... }:
+
+{
+ imports = [
+ ./homebrew.nix
+ ./macos.nix
+ ];
+
+ # Enable experimental Nix features
+ nix.settings.experimental-features = "nix-command flakes";
+
+ # Allow unfree packages
+ nixpkgs.config.allowUnfree = true;
+
+ # System state version – do not change after first installation
+ system.stateVersion = 5;
+
+ # Enable Touch ID for sudo
+ security.pam.enableSudoTouchIdAuth = true;
+
+ # Core system packages available to all users
+ environment.systemPackages = with pkgs; [
+ curl
+ git
+ wget
+ ];
+}