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