aboutsummaryrefslogtreecommitdiff
path: root/hosts/RyanMac/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
-rw-r--r--hosts/RyanMac/configuration.nix25
1 files changed, 20 insertions, 5 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix
index 8bd7131..bb6bafc 100644
--- a/hosts/RyanMac/configuration.nix
+++ b/hosts/RyanMac/configuration.nix
@@ -56,6 +56,9 @@ in {
56 56
57 system.primaryUser = "${username}"; 57 system.primaryUser = "${username}";
58 58
59 # Set the hostname for this machine
60 networking.hostName = "RyanMac";
61
59 # Install the wallpaper engine 62 # Install the wallpaper engine
60 local.randomWallpaper = { 63 local.randomWallpaper = {
61 enable = true; 64 enable = true;
@@ -83,10 +86,20 @@ in {
83 }; 86 };
84 extraConfig = '' 87 extraConfig = ''
85 yabai -m rule --add app='System Settings' manage=off 88 yabai -m rule --add app='System Settings' manage=off
86 borders style=round active_color='gradient(top_left=0xee33ccff,bottom_right=0xee00ff99)' inactive_color=0xaa595959 width=6.0
87 ''; 89 '';
88 }; 90 };
89 91
92 # Configure JankyBorders
93 services.jankyborders = {
94 enable = true;
95 style = "round";
96 width = 6.0;
97 hidpi = true;
98 ax_focus = true;
99 active_color = "gradient(top_left=0xee33ccff,bottom_right=0xee00ff99)";
100 inactive_color = "0xaa595959";
101 };
102
90 # Install the /etc/nix/flake-registry.json file we made above 103 # Install the /etc/nix/flake-registry.json file we made above
91 environment.etc."nix/flake-registry.json".source = pinnedNixpkgs; 104 environment.etc."nix/flake-registry.json".source = pinnedNixpkgs;
92 105
@@ -95,11 +108,11 @@ in {
95 ../../files/CACerts/RyanCA.crt 108 ../../files/CACerts/RyanCA.crt
96 ]; 109 ];
97 110
98 # Need to disable native nix handling because of Determinate nix 111 nix = {
99 determinateNix = {
100 enable = true; 112 enable = true;
101 customSettings = { 113 settings = {
102 flake-registry = "/etc/nix/flake-registry.json"; 114 flake-registry = "/etc/nix/flake-registry.json";
115 "extra-experimental-features" = [ "nix-command" "flakes" ];
103 }; 116 };
104 }; 117 };
105 118
@@ -134,7 +147,6 @@ in {
134 taps = builtins.attrNames thirdPartyTaps; 147 taps = builtins.attrNames thirdPartyTaps;
135 148
136 brews = [ 149 brews = [
137 "borders"
138 "mqttx-cli" 150 "mqttx-cli"
139 ]; 151 ];
140 152
@@ -301,6 +313,9 @@ in {
301 # Always show menu bar 313 # Always show menu bar
302 AppleMenuBarVisibleInFullscreen = true; 314 AppleMenuBarVisibleInFullscreen = true;
303 315
316 # Hide the menubar by default
317 "_HIHideMenuBar" = true;
318
304 # Option + L lock 319 # Option + L lock
305 NSUserKeyEquivalents = { 320 NSUserKeyEquivalents = {
306 "Lock Screen" = "~l"; 321 "Lock Screen" = "~l";