Compare commits

...

3 commits

Author SHA1 Message Date
ca4ca49ffd feat: build cache for my other arm servers.
All checks were successful
/ cache (push) Successful in 3m59s
2026-03-15 11:52:39 +01:00
79dd241e78 feat: make sure to only run one job at a time. 2026-03-15 11:52:26 +01:00
3ef136b391 feat: add my cache server. 2026-03-15 11:52:17 +01:00
3 changed files with 12 additions and 7 deletions

View file

@ -6,18 +6,19 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v5
# - name: Install nix
# uses: https://github.com/cachix/install-nix-action@v31
# - name: Setup system cache
# uses: actions/cache@v3
# with:
# path: /nix/store
# key: nix-cache
- name: Setup Attic cache
uses: https://github.com/ryanccn/attic-action@v0
with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Build baldur configuration
run: nix build .#nixosConfigurations.baldur.config.system.build.toplevel
- name: Build bragi configuration
run: nix build .#nixosConfigurations.bragi.config.system.build.toplevel
- name: Build thor configuration
run: nix build .#nixosConfigurations.thor.config.system.build.toplevel
- name: Build odin configuration
run: nix build .#nixosConfigurations.odin.config.system.build.toplevel
- name: Build freyja configuration
run: nix build .#nixosConfigurations.freyja.config.system.build.toplevel

View file

@ -15,6 +15,7 @@
"https://cache.nixos-cuda.org"
"https://deploy-rs.cachix.org"
"https://attic.xuyh0120.win/lantian"
"https://cache.cronyakatsuki.xyz/server"
];
trusted-substituters = [
"https://hyprland.cachix.org"
@ -27,6 +28,7 @@
"cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M="
"deploy-rs.cachix.org-1:xfNobmiwF/vzvK1gpfediPwpdIP0rpDV2rYqx40zdSI="
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
"server:H3UiSzK++1xgvbI/0BgWc2Ug/srJ45x05Zc9DqNUsxM="
];
};

View file

@ -41,4 +41,6 @@
size = 16 * 1024; # 16 GB
}
];
nix.settings.max-jobs = 1;
}