aboutsummaryrefslogtreecommitdiffstats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2025-07-28 16:04:38 +0100
committerDavid Morgan <djm_uk@protonmail.com>2025-07-28 16:04:38 +0100
commit1c4975213f72d3be39ab0cbc038ec57d50247983 (patch)
tree87bb44a71449fd4fa3209eeda908de3e5fee905c /nix-conf
parentad1183bc06ec0b9368cda88e9ef6d33f646c96e6 (diff)
downloaddotfiles-1c4975213f72d3be39ab0cbc038ec57d50247983.tar.gz
Swap command and control on darwin
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nix-conf/home/flake.nix b/nix-conf/home/flake.nix
index 03af5b7..0f694ff 100644
--- a/nix-conf/home/flake.nix
+++ b/nix-conf/home/flake.nix
@@ -69,6 +69,11 @@
nix.settings.ssl-cert-file = "/Users/dmorgan/certs/full-cert.pem";
system.configurationRevision = self.rev or self.dirtyRev or null;
system.stateVersion = 6;
+ system.keyboard.enableKeyMapping = true;
+ system.keyboard.userKeyMapping = [
+ { HIDKeyboardModifierMappingSrc = 30064771296; HIDKeyboardModifierMappingDst = 30064771299; }
+ { HIDKeyboardModifierMappingSrc = 30064771299; HIDKeyboardModifierMappingDst = 30064771296; }
+ ];
nixpkgs.hostPlatform = "aarch64-darwin";
ids.gids.nixbld = 30000;
users.users.dmorgan.home = "/Users/dmorgan";