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 @@...@@ -104,10 +104,6 @@
104 {nixpkgs.overlays = overlays;}104 {nixpkgs.overlays = overlays;}
105 ./hosts/laptop/configuration.nix105 ./hosts/laptop/configuration.nix
106 home-manager.darwinModules.home-manager106 home-manager.darwinModules.home-manager
107 hosts.nixosModule
108 {
109 networking.stevenBlackHosts.enable = true;
110 }
111 {107 {
112 home-manager = {108 home-manager = {
113 useGlobalPkgs = true;109 useGlobalPkgs = true;
hosts/laptop/configuration.nix+21-2
...@@ -71,7 +71,7 @@...@@ -71,7 +71,7 @@
71 # minimal dock71 # minimal dock
72 dock = {72 dock = {
73 autohide = false;73 autohide = false;
74 show-process-indicators = false;74 show-process-indicators = true;
75 show-recents = true;75 show-recents = true;
76 static-only = true;76 static-only = true;
77 };77 };
...@@ -81,6 +81,25 @@...@@ -81,6 +81,25 @@
81 ShowPathbar = true;81 ShowPathbar = true;
82 FXEnableExtensionChangeWarning = false;82 FXEnableExtensionChangeWarning = false;
83 };83 };
84 # Tab between form controls and F-row that behaves as F1-F1284
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 };
85 };104 };
86}105}
hosts/laptop/home.nix+1
...@@ -31,6 +31,7 @@...@@ -31,6 +31,7 @@
31 # environment.31 # environment.
3232
33 home.packages = with pkgs; [33 home.packages = with pkgs; [
34 # ghostty.packages.aarch64-darwin.default
34 pyright35 pyright
35 ruff36 ruff
36 python312Packages.jedi-language-server37 python312Packages.jedi-language-server