diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:43:01 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 18:43:01 +0100 |
| commit | e08f800b6dc1bc6a6a6127c12b7df72bd219d50b (patch) | |
| tree | d8946586bdda098983322316d02421c57ffb885d /modules/darwin/default.nix | |
| parent | 1fd92fcaf3aadea1e9509f859340f57100218c41 (diff) | |
| download | dotfiles-e08f800b6dc1bc6a6a6127c12b7df72bd219d50b.tar.gz dotfiles-e08f800b6dc1bc6a6a6127c12b7df72bd219d50b.zip | |
use nix
Diffstat (limited to 'modules/darwin/default.nix')
| -rw-r--r-- | modules/darwin/default.nix | 15 |
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; [ |
