Our Personal Data Server from scratch! tranquil.farm
pds rust database fun oauth atproto
238
fork

Configure Feed

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

feat(ci): add cachix publishing workflows

authored by quilling.dev and committed by

Tangled b0c3402a b9574f3e

+61
+20
.tangled/workflows/publish-cachix-aarch64.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + nixpkgs: 9 + - nix 10 + - cachix 11 + - gnugrep 12 + 13 + steps: 14 + - name: Authenticate 15 + command: | 16 + cachix authtoken "$CACHIX_AUTH_TOKEN" 17 + 18 + - name: Build and push aarch64 19 + command: | 20 + nix-store -qR --include-outputs $(nix-store -qd $(nix build .#packages.x86_64-linux.tranquil-pds-aarch64 --accept-flake-config --print-out-paths --no-link)) | grep -v '\.drv$' | cachix push "$CACHIX_CACHE_NAME"
+26
.tangled/workflows/publish-cachix-x86_64.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main"] 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + nixpkgs: 9 + - nix 10 + - cachix 11 + - gnugrep 12 + 13 + steps: 14 + - name: Authenticate 15 + command: | 16 + cachix authtoken "$CACHIX_AUTH_TOKEN" 17 + 18 + - name: Build and push x86_64 19 + command: | 20 + nix-store -qR --include-outputs $(nix-store -qd $(nix build .#packages.x86_64-linux.tranquil-pds --accept-flake-config --print-out-paths --no-link)) | grep -v '\.drv$' | cachix push "$CACHIX_CACHE_NAME" 21 + nix-store -qR --include-outputs $(nix-store -qd $(nix build .#packages.x86_64-linux.tranquil-frontend --accept-flake-config --print-out-paths --no-link)) | grep -v '\.drv$' | cachix push "$CACHIX_CACHE_NAME" 22 + 23 + - name: Build and push devShell 24 + command: | 25 + nix develop --accept-flake-config --profile dev-profile -c true 26 + cachix push "$CACHIX_CACHE_NAME" dev-profile
+15
flake.nix
··· 3 3 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 4 4 }; 5 5 6 + nixConfig = { 7 + extra-substituters = [ 8 + "https://tranquil.cachix.org" 9 + "https://nix-community.cachix.org" 10 + "https://cache.garnix.io" 11 + "https://devenv.cachix.org" 12 + ]; 13 + extra-trusted-public-keys = [ 14 + "tranquil.cachix.org-1:PoO+mGL6a6LcJiPakMDHN4E218/ei/7v2sxeDtNkSRg=" 15 + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" 16 + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" 17 + "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=" 18 + ]; 19 + }; 20 + 6 21 outputs = 7 22 { 8 23 self,