this repo has no description
at master 46 lines 796 B view raw
1{ 2 pkgs, 3 inputs, 4 ... 5}: 6{ 7 nix.settings.extra-sandbox-paths = [ 8 "/System/Library/Frameworks" 9 "/System/Library/PrivateFrameworks" 10 "/usr/lib" 11 "/private/tmp" 12 "/private/var/tmp" 13 "/usr/bin/env" 14 ]; 15 16 nix.settings.allowed-users = [ 17 "@admin" 18 "@builder" 19 "hauleth" 20 ]; 21 22 # Simulate the systemd-resolved .localhost resolution 23 services.dnsmasq = { 24 enable = true; 25 port = 35353; 26 addresses = { 27 localhost = "127.0.0.1"; 28 }; 29 }; 30 31 nix.registry.darwin.flake = inputs.darwin; 32 33 # Enable TouchID PAM on macOS 34 security.pam.services.sudo_local.touchIdAuth = true; 35 36 system = { 37 primaryUser = "hauleth"; 38 39 defaults.dock.autohide = true; 40 41 keyboard = { 42 enableKeyMapping = true; 43 remapCapsLockToControl = true; 44 }; 45 }; 46}