From 011486787f639f2d2474bbaf5a6ef3d77fb45a43 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 18:56:27 +0100 Subject: Refactor dotfiles to declarative Nix management (nix-darwin + home-manager) (#5) --- modules/darwin/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 modules/darwin/default.nix (limited to 'modules/darwin/default.nix') 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 + ]; +} -- cgit v1.2.3