authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-10-02 19:36:53-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-10-02 19:36:53-07:00
logce509e6860ad273a149359393825924ab1be326a
tree8168c507ce24eb50e54cc29bd9f0fc5b2425f0fa
parentd3173204ccf17ab40a267779d137643bf222a166
parent2f8594d6edaf69dccd88990f211395c76da10123

Merge branch 'main' of github.com:nmarks413/nix-config


3 files changed, 22 insertions(+), 6 deletions(-)

flake.nix-4
......@@ -104,10 +104,6 @@
104104 {nixpkgs.overlays = overlays;}
105105 ./hosts/laptop/configuration.nix
106106 home-manager.darwinModules.home-manager
107 hosts.nixosModule
108 {
109 networking.stevenBlackHosts.enable = true;
110 }
111107 {
112108 home-manager = {
113109 useGlobalPkgs = true;
hosts/laptop/configuration.nix+21-2
......@@ -71,7 +71,7 @@
7171 # minimal dock
7272 dock = {
7373 autohide = false;
74 show-process-indicators = false;
74 show-process-indicators = true;
7575 show-recents = true;
7676 static-only = true;
7777 };
......@@ -81,6 +81,25 @@
8181 ShowPathbar = true;
8282 FXEnableExtensionChangeWarning = false;
8383 };
84 # Tab between form controls and F-row that behaves as F1-F12
84
85 CustomUserPreferences = {
86 launchd.user.agents.UserKeyMapping.serviceConfig = {
87 ProgramArguments = [
88 "/usr/bin/hidutil"
89 "property"
90 "--match"
91 "{&quot;ProductID&quot;:0x0,&quot;VendorID&quot;:0x0,&quot;Product&quot;:&quot;Apple Internal Keyboard / Trackpad&quot;}"
92 "--set"
93 (
94 let
95 # https://developer.apple.com/library/archive/technotes/tn2450/_index.html
96 caps_lock = "0x700000039";
97 escape = "0x700000029";
98 in "{&quot;UserKeyMapping&quot;:[{&quot;HIDKeyboardModifierMappingDst&quot;:${escape},&quot;HIDKeyboardModifierMappingSrc&quot;:${caps_lock}},{&quot;HIDKeyboardModifierMappingDst&quot;:${caps_lock},&quot;HIDKeyboardModifierMappingSrc&quot;:${escape}}]}"
99 )
100 ];
101 RunAtLoad = true;
102 };
103 };
85104 };
86105}
hosts/laptop/home.nix+1
......@@ -31,6 +31,7 @@
3131 # environment.
3232
3333 home.packages = with pkgs; [
34 # ghostty.packages.aarch64-darwin.default
3435 pyright
3536 ruff
3637 python312Packages.jedi-language-server