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.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix
index 5474b91..5b487ef 100644
--- a/modules/darwin/default.nix
+++ b/modules/darwin/default.nix
@@ -6,8 +6,8 @@
./macos.nix
];
- # Enable experimental Nix features
- nix.settings.experimental-features = "nix-command flakes";
+ # Nix is managed by Determinate installer
+ nix.enable = false;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -15,8 +15,17 @@
# System state version – do not change after first installation
system.stateVersion = 5;
+ # Primary user for system defaults and homebrew
+ system.primaryUser = "cobraz";
+
# Enable Touch ID for sudo
- security.pam.enableSudoTouchIdAuth = true;
+ security.pam.services.sudo_local.touchIdAuth = true;
+
+ # Remap Caps Lock to Escape
+ system.keyboard = {
+ enableKeyMapping = true;
+ remapCapsLockToEscape = true;
+ };
# Core system packages available to all users
environment.systemPackages = with pkgs; [