Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(loki): add ghostty

+137 -7
+133 -5
flake.lock
··· 23 23 "flake-compat": { 24 24 "flake": false, 25 25 "locked": { 26 + "lastModified": 1696426674, 27 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 28 + "owner": "edolstra", 29 + "repo": "flake-compat", 30 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 31 + "type": "github" 32 + }, 33 + "original": { 34 + "owner": "edolstra", 35 + "repo": "flake-compat", 36 + "type": "github" 37 + } 38 + }, 39 + "flake-compat_2": { 40 + "flake": false, 41 + "locked": { 26 42 "lastModified": 1733328505, 27 43 "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", 28 44 "owner": "edolstra", ··· 41 57 "systems": "systems" 42 58 }, 43 59 "locked": { 60 + "lastModified": 1705309234, 61 + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", 62 + "owner": "numtide", 63 + "repo": "flake-utils", 64 + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", 65 + "type": "github" 66 + }, 67 + "original": { 68 + "owner": "numtide", 69 + "repo": "flake-utils", 70 + "type": "github" 71 + } 72 + }, 73 + "flake-utils_2": { 74 + "inputs": { 75 + "systems": "systems_2" 76 + }, 77 + "locked": { 44 78 "lastModified": 1731533236, 45 79 "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 46 80 "owner": "numtide", ··· 54 88 "type": "github" 55 89 } 56 90 }, 57 - "flake-utils_2": { 91 + "flake-utils_3": { 58 92 "inputs": { 59 - "systems": "systems_2" 93 + "systems": "systems_3" 60 94 }, 61 95 "locked": { 62 96 "lastModified": 1731533236, ··· 72 106 "type": "github" 73 107 } 74 108 }, 109 + "ghostty": { 110 + "inputs": { 111 + "flake-compat": "flake-compat", 112 + "nixpkgs-stable": "nixpkgs-stable", 113 + "nixpkgs-unstable": "nixpkgs-unstable", 114 + "zig": "zig" 115 + }, 116 + "locked": { 117 + "lastModified": 1735362327, 118 + "narHash": "sha256-kD49xAUMCWU60IRKoJiyJTaEUum7rk45OYjZfwWr3Ck=", 119 + "owner": "ghostty-org", 120 + "repo": "ghostty", 121 + "rev": "6cbd69da7839260508466f9dfb2bc0c0fbb43991", 122 + "type": "github" 123 + }, 124 + "original": { 125 + "owner": "ghostty-org", 126 + "repo": "ghostty", 127 + "type": "github" 128 + } 129 + }, 75 130 "hardware": { 76 131 "locked": { 77 132 "lastModified": 1734954597, ··· 111 166 }, 112 167 "microvm": { 113 168 "inputs": { 114 - "flake-utils": "flake-utils", 169 + "flake-utils": "flake-utils_2", 115 170 "nixpkgs": "nixpkgs", 116 171 "spectrum": "spectrum" 117 172 }, ··· 141 196 "type": "indirect" 142 197 } 143 198 }, 199 + "nixpkgs-stable": { 200 + "locked": { 201 + "lastModified": 1733423277, 202 + "narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=", 203 + "owner": "nixos", 204 + "repo": "nixpkgs", 205 + "rev": "e36963a147267afc055f7cf65225958633e536bf", 206 + "type": "github" 207 + }, 208 + "original": { 209 + "owner": "nixos", 210 + "ref": "release-24.11", 211 + "repo": "nixpkgs", 212 + "type": "github" 213 + } 214 + }, 215 + "nixpkgs-unstable": { 216 + "locked": { 217 + "lastModified": 1733229606, 218 + "narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=", 219 + "owner": "nixos", 220 + "repo": "nixpkgs", 221 + "rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550", 222 + "type": "github" 223 + }, 224 + "original": { 225 + "owner": "nixos", 226 + "ref": "nixpkgs-unstable", 227 + "repo": "nixpkgs", 228 + "type": "github" 229 + } 230 + }, 144 231 "nixpkgs_2": { 145 232 "locked": { 146 233 "lastModified": 1735264675, ··· 160 247 "root": { 161 248 "inputs": { 162 249 "darwin": "darwin", 250 + "ghostty": "ghostty", 163 251 "hardware": "hardware", 164 252 "home-manager": "home-manager", 165 253 "microvm": "microvm", ··· 214 302 "type": "github" 215 303 } 216 304 }, 305 + "systems_3": { 306 + "locked": { 307 + "lastModified": 1681028828, 308 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 309 + "owner": "nix-systems", 310 + "repo": "default", 311 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 312 + "type": "github" 313 + }, 314 + "original": { 315 + "owner": "nix-systems", 316 + "repo": "default", 317 + "type": "github" 318 + } 319 + }, 217 320 "unstable": { 218 321 "locked": { 219 322 "lastModified": 1735268880, ··· 232 335 }, 233 336 "wsl": { 234 337 "inputs": { 235 - "flake-compat": "flake-compat", 236 - "flake-utils": "flake-utils_2", 338 + "flake-compat": "flake-compat_2", 339 + "flake-utils": "flake-utils_3", 237 340 "nixpkgs": [ 238 341 "nixpkgs" 239 342 ] ··· 249 352 "original": { 250 353 "owner": "nix-community", 251 354 "repo": "NixOS-WSL", 355 + "type": "github" 356 + } 357 + }, 358 + "zig": { 359 + "inputs": { 360 + "flake-compat": [ 361 + "ghostty" 362 + ], 363 + "flake-utils": "flake-utils", 364 + "nixpkgs": [ 365 + "ghostty", 366 + "nixpkgs-stable" 367 + ] 368 + }, 369 + "locked": { 370 + "lastModified": 1717848532, 371 + "narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=", 372 + "owner": "mitchellh", 373 + "repo": "zig-overlay", 374 + "rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43", 375 + "type": "github" 376 + }, 377 + "original": { 378 + "owner": "mitchellh", 379 + "repo": "zig-overlay", 252 380 "type": "github" 253 381 } 254 382 }
+2
flake.nix
··· 24 24 }; 25 25 26 26 hardware.url = "github:NixOS/nixos-hardware/master"; 27 + 28 + ghostty.url = "github:ghostty-org/ghostty"; 27 29 }; 28 30 29 31 outputs = { self, nixpkgs, darwin, wsl, home-manager, microvm, hardware, ... }@inputs:
+1 -1
homes/x86_64-linux/loki/cosmeak/default.nix
··· 16 16 spotify 17 17 thunderbird 18 18 vscodium 19 - ]; 19 + ] ++ [ inputs.ghostty.packages.x86_64-linux.default ]; 20 20 21 21 # You do not need to change this if you're reading this in the future. 22 22 # Don't ever change this after the first build. Don't ask questions.
+1 -1
hosts/x86_64-linux/loki/default.nix
··· 19 19 # Home Manager 20 20 home-manager.useGlobalPkgs = true; 21 21 home-manager.useUserPackages = true; 22 - home-manager.users.cosmeak = import ./../../../homes/x86_64-linux/loki/cosmeak; 22 + home-manager.users.cosmeak = import ./../../../homes/x86_64-linux/loki/cosmeak { inherit inputs pkgs; }; 23 23 users.users.cosmeak.home = "/home/cosmeak"; 24 24 home-manager.backupFileExtension = "bak"; 25 25