Deployment and lifecycle management for Nix
0
fork

Configure Feed

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

init typhon

+166 -12
+133 -1
flake.lock
··· 63 63 "type": "github" 64 64 } 65 65 }, 66 + "crane_3": { 67 + "inputs": { 68 + "nixpkgs": [ 69 + "typhon", 70 + "nixpkgs" 71 + ] 72 + }, 73 + "locked": { 74 + "lastModified": 1706473964, 75 + "narHash": "sha256-Fq6xleee/TsX6NbtoRuI96bBuDHMU57PrcK9z1QEKbk=", 76 + "owner": "ipetkov", 77 + "repo": "crane", 78 + "rev": "c798790eabec3e3da48190ae3698ac227aab770c", 79 + "type": "github" 80 + }, 81 + "original": { 82 + "owner": "ipetkov", 83 + "repo": "crane", 84 + "type": "github" 85 + } 86 + }, 66 87 "flake-compat": { 67 88 "flake": false, 68 89 "locked": { ··· 79 100 "type": "github" 80 101 } 81 102 }, 103 + "flake-compat_2": { 104 + "flake": false, 105 + "locked": { 106 + "lastModified": 1696426674, 107 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 108 + "owner": "edolstra", 109 + "repo": "flake-compat", 110 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 111 + "type": "github" 112 + }, 113 + "original": { 114 + "owner": "edolstra", 115 + "repo": "flake-compat", 116 + "type": "github" 117 + } 118 + }, 82 119 "flake-parts": { 83 120 "inputs": { 84 121 "nixpkgs-lib": "nixpkgs-lib" ··· 115 152 "type": "github" 116 153 } 117 154 }, 155 + "flake-schemas": { 156 + "locked": { 157 + "lastModified": 1697467827, 158 + "narHash": "sha256-j8SR19V1SRysyJwpOBF4TLuAvAjF5t+gMiboN4gYQDU=", 159 + "owner": "determinatesystems", 160 + "repo": "flake-schemas", 161 + "rev": "764932025c817d4e500a8d2a4d8c565563923d29", 162 + "type": "github" 163 + }, 164 + "original": { 165 + "owner": "determinatesystems", 166 + "repo": "flake-schemas", 167 + "type": "github" 168 + } 169 + }, 118 170 "flake-utils": { 119 171 "locked": { 120 172 "lastModified": 1667395993, ··· 148 200 "type": "github" 149 201 } 150 202 }, 203 + "flake-utils_3": { 204 + "inputs": { 205 + "systems": "systems_3" 206 + }, 207 + "locked": { 208 + "lastModified": 1681202837, 209 + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", 210 + "owner": "numtide", 211 + "repo": "flake-utils", 212 + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", 213 + "type": "github" 214 + }, 215 + "original": { 216 + "owner": "numtide", 217 + "repo": "flake-utils", 218 + "type": "github" 219 + } 220 + }, 151 221 "lexical": { 152 222 "inputs": { 153 223 "flake-parts": "flake-parts_2", ··· 296 366 "lexical": "lexical", 297 367 "next-ls": "next-ls", 298 368 "nixpkgs": "nixpkgs_3", 299 - "rust-overlay": "rust-overlay" 369 + "rust-overlay": "rust-overlay", 370 + "typhon": "typhon" 300 371 } 301 372 }, 302 373 "rust-overlay": { ··· 320 391 "type": "github" 321 392 } 322 393 }, 394 + "rust-overlay_2": { 395 + "inputs": { 396 + "flake-utils": "flake-utils_3", 397 + "nixpkgs": [ 398 + "typhon", 399 + "nixpkgs" 400 + ] 401 + }, 402 + "locked": { 403 + "lastModified": 1706494265, 404 + "narHash": "sha256-4ilEUJEwNaY9r/8BpL3VmZiaGber0j09lvvx0e/bosA=", 405 + "owner": "oxalica", 406 + "repo": "rust-overlay", 407 + "rev": "246ba7102553851af60e0382f558f6bc5f63fa13", 408 + "type": "github" 409 + }, 410 + "original": { 411 + "owner": "oxalica", 412 + "repo": "rust-overlay", 413 + "type": "github" 414 + } 415 + }, 323 416 "systems": { 324 417 "locked": { 325 418 "lastModified": 1681028828, ··· 347 440 "original": { 348 441 "owner": "nix-systems", 349 442 "repo": "default", 443 + "type": "github" 444 + } 445 + }, 446 + "systems_3": { 447 + "locked": { 448 + "lastModified": 1681028828, 449 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 450 + "owner": "nix-systems", 451 + "repo": "default", 452 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 453 + "type": "github" 454 + }, 455 + "original": { 456 + "owner": "nix-systems", 457 + "repo": "default", 458 + "type": "github" 459 + } 460 + }, 461 + "typhon": { 462 + "inputs": { 463 + "crane": "crane_3", 464 + "flake-compat": "flake-compat_2", 465 + "flake-schemas": "flake-schemas", 466 + "nixpkgs": [ 467 + "nixpkgs" 468 + ], 469 + "rust-overlay": "rust-overlay_2" 470 + }, 471 + "locked": { 472 + "lastModified": 1708693001, 473 + "narHash": "sha256-1jRuMCCSabHPcaNvkcyd+4HdDFnn4Wr2JiB57kwba40=", 474 + "owner": "typhon-ci", 475 + "repo": "typhon", 476 + "rev": "f4bafa37cc195831d7ed6f52ef69b0de5b880b9f", 477 + "type": "github" 478 + }, 479 + "original": { 480 + "owner": "typhon-ci", 481 + "repo": "typhon", 350 482 "type": "github" 351 483 } 352 484 }
+26 -11
flake.nix
··· 10 10 nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable-small"; 11 11 rust-overlay.inputs.nixpkgs.follows = "nixpkgs"; 12 12 rust-overlay.url = "github:oxalica/rust-overlay"; 13 + typhon.url = "github:typhon-ci/typhon"; 14 + typhon.inputs.nixpkgs.follows = "nixpkgs"; 13 15 }; 14 16 15 17 outputs = 16 - inputs@{ flake-parts, ... }: 18 + inputs@{ flake-parts, self, ... }: 17 19 flake-parts.lib.mkFlake { inherit inputs; } ( 18 20 { withSystem, ... }: 19 - { 21 + rec { 20 22 imports = [ ./nix/flakemodule.nix ]; 21 23 22 24 systems = [ ··· 128 130 }; 129 131 }; 130 132 131 - flake.nixosModules.sower = ./nix/nixos-module.nix; 132 - flake.homeModules.sower = ./nix/home-module.nix; 133 + flake = { 134 + nixosModules.sower = ./nix/nixos-module.nix; 135 + homeModules.sower = ./nix/home-module.nix; 133 136 134 - # don't support darwin 135 - flake.packages.x86_64-linux = rec { 136 - default = server; 137 - server = withSystem "x86_64-linux" ( 138 - { pkgs, self', ... }: 139 - pkgs.callPackage ./nix/package.nix { inherit (self'.legacyPackages) beamPackages; } 140 - ); 137 + # don't support darwin 138 + packages.x86_64-linux = rec { 139 + default = server; 140 + server = withSystem "x86_64-linux" ( 141 + { pkgs, self', ... }: 142 + pkgs.callPackage ./nix/package.nix { inherit (self'.legacyPackages) beamPackages; } 143 + ); 144 + }; 145 + 146 + typhonProject = inputs.typhon.lib.gitea.mkProject { 147 + instance = "git.junco.dev"; 148 + owner = "adam"; 149 + repo = "sower"; 150 + secrets = ./secrets.age; 151 + typhonUrl = "https://typhon.junco.dev"; 152 + }; 153 + typhonJobs = inputs.nixpkgs.lib.genAttrs systems (system: { 154 + inherit (self.packages.${system}) client; 155 + }); 141 156 }; 142 157 } 143 158 );
+7
secrets.age
··· 1 + age-encryption.org/v1 2 + -> X25519 27zotTweoPgyd5rNL6yTKLbTPU4ly/aLnUiI0AunWmg 3 + lCsXy1QhkaVprJTlSlyLhlstPKVqExFCflv7GpKgbBQ 4 + --- s7o/Eakijznu9X2nDiRKezfCmTYhUlE9aXLSJQbBk7k 5 + �]+ƍz���!�H�<�b�:�+3�%��;�6_TF���2�aΔ�L&Q�>���6DO����-�:��5�٬� �]{Jv�Q⾎H�Xe]�����Ű����_B���_� 6 + !*jˍ� 7 + �d>�� Ą��A��]�Z;����[���T�����^ �Tjls8��������Uթ�te_)j+/��=(�d�l���8/Ad