diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-06 20:41:17 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-06 20:41:17 -0400 |
| commit | 78690d5e544616e73562e13d0c27bd910480111c (patch) | |
| tree | 7cb1d8e6fcd698c226db387c7d1f3a5dc39c8ca8 | |
| parent | afb474061df5e2344d4afda0ccedc048f8754ed2 (diff) | |
Removed determinate nix, prep for ubersicht, fix gpg
| -rw-r--r-- | flake.lock | 204 | ||||
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | hosts/RyanMac/configuration.nix | 25 | ||||
| -rw-r--r-- | users/ryan/home.nix | 10 |
4 files changed, 30 insertions, 211 deletions
| @@ -38,126 +38,6 @@ | |||
| 38 | "type": "github" | 38 | "type": "github" |
| 39 | } | 39 | } |
| 40 | }, | 40 | }, |
| 41 | "determinate": { | ||
| 42 | "inputs": { | ||
| 43 | "determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin", | ||
| 44 | "determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux", | ||
| 45 | "determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux", | ||
| 46 | "nix": "nix", | ||
| 47 | "nixpkgs": "nixpkgs_2" | ||
| 48 | }, | ||
| 49 | "locked": { | ||
| 50 | "lastModified": 1780941588, | ||
| 51 | "narHash": "sha256-cXxaBtTSYEYVtSxw4IH0hPa+p+VFxS0i+66GwxVFk7o=", | ||
| 52 | "rev": "70c28bcdd4dde10d04f39e7accb5738a1f5d5298", | ||
| 53 | "revCount": 421, | ||
| 54 | "type": "tarball", | ||
| 55 | "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.21.1/019ea867-5568-7d03-9579-e943ed6d4cef/source.tar.gz" | ||
| 56 | }, | ||
| 57 | "original": { | ||
| 58 | "type": "tarball", | ||
| 59 | "url": "https://flakehub.com/f/DeterminateSystems/determinate/3" | ||
| 60 | } | ||
| 61 | }, | ||
| 62 | "determinate-nixd-aarch64-darwin": { | ||
| 63 | "flake": false, | ||
| 64 | "locked": { | ||
| 65 | "narHash": "sha256-ctwRrPKWBSFkTqlCHRGz6MHBSWRkbSAEVGoelsxdr2g=", | ||
| 66 | "type": "file", | ||
| 67 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/macOS" | ||
| 68 | }, | ||
| 69 | "original": { | ||
| 70 | "type": "file", | ||
| 71 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/macOS" | ||
| 72 | } | ||
| 73 | }, | ||
| 74 | "determinate-nixd-aarch64-linux": { | ||
| 75 | "flake": false, | ||
| 76 | "locked": { | ||
| 77 | "narHash": "sha256-qYFrMN6lSMRYV87D/uK5L2CUBvOpoLZAAfSYXvcp9cc=", | ||
| 78 | "type": "file", | ||
| 79 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/aarch64-linux" | ||
| 80 | }, | ||
| 81 | "original": { | ||
| 82 | "type": "file", | ||
| 83 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/aarch64-linux" | ||
| 84 | } | ||
| 85 | }, | ||
| 86 | "determinate-nixd-x86_64-linux": { | ||
| 87 | "flake": false, | ||
| 88 | "locked": { | ||
| 89 | "narHash": "sha256-BxzPf6fT1ekyvD5JA0vvDJOTPtIyjrzVg3Puuo0ftbg=", | ||
| 90 | "type": "file", | ||
| 91 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/x86_64-linux" | ||
| 92 | }, | ||
| 93 | "original": { | ||
| 94 | "type": "file", | ||
| 95 | "url": "https://install.determinate.systems/determinate-nixd/tag/v3.21.1/x86_64-linux" | ||
| 96 | } | ||
| 97 | }, | ||
| 98 | "flake-compat": { | ||
| 99 | "flake": false, | ||
| 100 | "locked": { | ||
| 101 | "lastModified": 1696426674, | ||
| 102 | "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", | ||
| 103 | "owner": "edolstra", | ||
| 104 | "repo": "flake-compat", | ||
| 105 | "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", | ||
| 106 | "type": "github" | ||
| 107 | }, | ||
| 108 | "original": { | ||
| 109 | "owner": "edolstra", | ||
| 110 | "repo": "flake-compat", | ||
| 111 | "type": "github" | ||
| 112 | } | ||
| 113 | }, | ||
| 114 | "flake-parts": { | ||
| 115 | "inputs": { | ||
| 116 | "nixpkgs-lib": [ | ||
| 117 | "determinate", | ||
| 118 | "nix", | ||
| 119 | "nixpkgs" | ||
| 120 | ] | ||
| 121 | }, | ||
| 122 | "locked": { | ||
| 123 | "lastModified": 1748821116, | ||
| 124 | "narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=", | ||
| 125 | "rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1", | ||
| 126 | "revCount": 377, | ||
| 127 | "type": "tarball", | ||
| 128 | "url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz" | ||
| 129 | }, | ||
| 130 | "original": { | ||
| 131 | "type": "tarball", | ||
| 132 | "url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1" | ||
| 133 | } | ||
| 134 | }, | ||
| 135 | "git-hooks-nix": { | ||
| 136 | "inputs": { | ||
| 137 | "flake-compat": "flake-compat", | ||
| 138 | "gitignore": [ | ||
| 139 | "determinate", | ||
| 140 | "nix" | ||
| 141 | ], | ||
| 142 | "nixpkgs": [ | ||
| 143 | "determinate", | ||
| 144 | "nix", | ||
| 145 | "nixpkgs" | ||
| 146 | ] | ||
| 147 | }, | ||
| 148 | "locked": { | ||
| 149 | "lastModified": 1747372754, | ||
| 150 | "narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=", | ||
| 151 | "rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46", | ||
| 152 | "revCount": 1026, | ||
| 153 | "type": "tarball", | ||
| 154 | "url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz" | ||
| 155 | }, | ||
| 156 | "original": { | ||
| 157 | "type": "tarball", | ||
| 158 | "url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941" | ||
| 159 | } | ||
| 160 | }, | ||
| 161 | "home-manager": { | 41 | "home-manager": { |
| 162 | "inputs": { | 42 | "inputs": { |
| 163 | "nixpkgs": [ | 43 | "nixpkgs": [ |
| @@ -210,27 +90,6 @@ | |||
| 210 | "type": "github" | 90 | "type": "github" |
| 211 | } | 91 | } |
| 212 | }, | 92 | }, |
| 213 | "nix": { | ||
| 214 | "inputs": { | ||
| 215 | "flake-parts": "flake-parts", | ||
| 216 | "git-hooks-nix": "git-hooks-nix", | ||
| 217 | "nixpkgs": "nixpkgs", | ||
| 218 | "nixpkgs-23-11": "nixpkgs-23-11", | ||
| 219 | "nixpkgs-regression": "nixpkgs-regression" | ||
| 220 | }, | ||
| 221 | "locked": { | ||
| 222 | "lastModified": 1780939209, | ||
| 223 | "narHash": "sha256-/JuW5C6sWuC836Y9b7hga3ZvhRiY4k4Zs73RRg5KVWM=", | ||
| 224 | "rev": "952beffe9c45ed245d30209d4f17cf1d26654a2a", | ||
| 225 | "revCount": 26044, | ||
| 226 | "type": "tarball", | ||
| 227 | "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.21.1/019ea860-2acd-7680-ae61-10f9574b2694/source.tar.gz" | ||
| 228 | }, | ||
| 229 | "original": { | ||
| 230 | "type": "tarball", | ||
| 231 | "url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A" | ||
| 232 | } | ||
| 233 | }, | ||
| 234 | "nix-homebrew": { | 93 | "nix-homebrew": { |
| 235 | "inputs": { | 94 | "inputs": { |
| 236 | "brew-src": "brew-src" | 95 | "brew-src": "brew-src" |
| @@ -251,66 +110,6 @@ | |||
| 251 | }, | 110 | }, |
| 252 | "nixpkgs": { | 111 | "nixpkgs": { |
| 253 | "locked": { | 112 | "locked": { |
| 254 | "lastModified": 1773222311, | ||
| 255 | "narHash": "sha256-BHoB/XpbqoZkVYZCfXJXfkR+GXFqwb/4zbWnOr2cRcU=", | ||
| 256 | "rev": "0590cd39f728e129122770c029970378a79d076a", | ||
| 257 | "revCount": 909248, | ||
| 258 | "type": "tarball", | ||
| 259 | "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2511.909248%2Brev-0590cd39f728e129122770c029970378a79d076a/019ce32b-8ace-7339-b129-cceaa8dd10c6/source.tar.gz" | ||
| 260 | }, | ||
| 261 | "original": { | ||
| 262 | "type": "tarball", | ||
| 263 | "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2511" | ||
| 264 | } | ||
| 265 | }, | ||
| 266 | "nixpkgs-23-11": { | ||
| 267 | "locked": { | ||
| 268 | "lastModified": 1717159533, | ||
| 269 | "narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=", | ||
| 270 | "owner": "NixOS", | ||
| 271 | "repo": "nixpkgs", | ||
| 272 | "rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446", | ||
| 273 | "type": "github" | ||
| 274 | }, | ||
| 275 | "original": { | ||
| 276 | "owner": "NixOS", | ||
| 277 | "repo": "nixpkgs", | ||
| 278 | "rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446", | ||
| 279 | "type": "github" | ||
| 280 | } | ||
| 281 | }, | ||
| 282 | "nixpkgs-regression": { | ||
| 283 | "locked": { | ||
| 284 | "lastModified": 1643052045, | ||
| 285 | "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", | ||
| 286 | "owner": "NixOS", | ||
| 287 | "repo": "nixpkgs", | ||
| 288 | "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", | ||
| 289 | "type": "github" | ||
| 290 | }, | ||
| 291 | "original": { | ||
| 292 | "owner": "NixOS", | ||
| 293 | "repo": "nixpkgs", | ||
| 294 | "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", | ||
| 295 | "type": "github" | ||
| 296 | } | ||
| 297 | }, | ||
| 298 | "nixpkgs_2": { | ||
| 299 | "locked": { | ||
| 300 | "lastModified": 1780336545, | ||
| 301 | "narHash": "sha256-vhVhuXzFrIOfcssC/9hDHx7MHzDKjF3keHuREOQqQiQ=", | ||
| 302 | "rev": "4df1b885d76a54e1aa1a318f8d16fd6005b6401f", | ||
| 303 | "revCount": 1008784, | ||
| 304 | "type": "tarball", | ||
| 305 | "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.1008784%2Brev-4df1b885d76a54e1aa1a318f8d16fd6005b6401f/019e8725-c925-7ec1-8f35-3f9effcf169a/source.tar.gz" | ||
| 306 | }, | ||
| 307 | "original": { | ||
| 308 | "type": "tarball", | ||
| 309 | "url": "https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/0.1" | ||
| 310 | } | ||
| 311 | }, | ||
| 312 | "nixpkgs_3": { | ||
| 313 | "locked": { | ||
| 314 | "lastModified": 1781229721, | 113 | "lastModified": 1781229721, |
| 315 | "narHash": "sha256-ORvqDbb/LYxiJljGIejapjkc/kJbVote2N1WSb9W45I=", | 114 | "narHash": "sha256-ORvqDbb/LYxiJljGIejapjkc/kJbVote2N1WSb9W45I=", |
| 316 | "owner": "nixos", | 115 | "owner": "nixos", |
| @@ -328,12 +127,11 @@ | |||
| 328 | "root": { | 127 | "root": { |
| 329 | "inputs": { | 128 | "inputs": { |
| 330 | "darwin": "darwin", | 129 | "darwin": "darwin", |
| 331 | "determinate": "determinate", | ||
| 332 | "home-manager": "home-manager", | 130 | "home-manager": "home-manager", |
| 333 | "homebrew-cask": "homebrew-cask", | 131 | "homebrew-cask": "homebrew-cask", |
| 334 | "homebrew-core": "homebrew-core", | 132 | "homebrew-core": "homebrew-core", |
| 335 | "nix-homebrew": "nix-homebrew", | 133 | "nix-homebrew": "nix-homebrew", |
| 336 | "nixpkgs": "nixpkgs_3", | 134 | "nixpkgs": "nixpkgs", |
| 337 | "zen-browser": "zen-browser" | 135 | "zen-browser": "zen-browser" |
| 338 | } | 136 | } |
| 339 | }, | 137 | }, |
| @@ -11,7 +11,6 @@ | |||
| 11 | url = "github:nix-community/home-manager"; | 11 | url = "github:nix-community/home-manager"; |
| 12 | inputs.nixpkgs.follows = "nixpkgs"; | 12 | inputs.nixpkgs.follows = "nixpkgs"; |
| 13 | }; | 13 | }; |
| 14 | determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/3"; | ||
| 15 | zen-browser = { # Used exclusively for HM module, Zen is installed via cask | 14 | zen-browser = { # Used exclusively for HM module, Zen is installed via cask |
| 16 | url = "github:0xc000022070/zen-browser-flake"; | 15 | url = "github:0xc000022070/zen-browser-flake"; |
| 17 | inputs = { | 16 | inputs = { |
| @@ -36,7 +35,6 @@ | |||
| 36 | specialArgs = { inherit inputs; }; | 35 | specialArgs = { inherit inputs; }; |
| 37 | modules = [ | 36 | modules = [ |
| 38 | { nixpkgs.config.allowUnfree = true; } | 37 | { nixpkgs.config.allowUnfree = true; } |
| 39 | inputs.determinate.darwinModules.default | ||
| 40 | ./hosts/RyanMac/configuration.nix | 38 | ./hosts/RyanMac/configuration.nix |
| 41 | home-manager.darwinModules.home-manager | 39 | home-manager.darwinModules.home-manager |
| 42 | { | 40 | { |
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"; |
diff --git a/users/ryan/home.nix b/users/ryan/home.nix index a83257b..5542baa 100644 --- a/users/ryan/home.nix +++ b/users/ryan/home.nix | |||
| @@ -89,10 +89,18 @@ | |||
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | services.gpg-agent = { | 91 | services.gpg-agent = { |
| 92 | enable = true; | 92 | enable = pkgs.stdenv.isLinux; |
| 93 | enableSshSupport = true; | 93 | enableSshSupport = true; |
| 94 | }; | 94 | }; |
| 95 | 95 | ||
| 96 | # Need special config for gpg-agent on macOS | ||
| 97 | home.file.".gnupg/gpg-agent.conf" = lib.mkIf pkgs.stdenv.isDarwin { | ||
| 98 | text = '' | ||
| 99 | pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac | ||
| 100 | enable-ssh-support | ||
| 101 | ''; | ||
| 102 | }; | ||
| 103 | |||
| 96 | programs.zsh = { | 104 | programs.zsh = { |
| 97 | enable = true; | 105 | enable = true; |
| 98 | initContent = let | 106 | initContent = let |
