aboutsummaryrefslogtreecommitdiffstats
path: root/modules/darwin/default.nix
blob: 5474b9151f19a4c90174de99d3125c2578fd27c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
  ];
}