add preem bincache
This commit is contained in:
parent
67ea65e380
commit
063c1b1574
5 changed files with 40 additions and 1 deletions
|
|
@ -15,7 +15,14 @@ jobs:
|
||||||
# keep-sorted end
|
# keep-sorted end
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- run: nix build --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
|
- run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel
|
||||||
|
- run: |
|
||||||
|
nix shell --inputs-from . nixpkgs#attic-client -c sh -c '
|
||||||
|
attic-client login preem https://preem-bincache.trollhive.monster "$PREEM_PUSH_TOKEN"
|
||||||
|
attic-client push preem:grid ./result
|
||||||
|
'
|
||||||
|
env:
|
||||||
|
PREEM_PUSH_TOKEN: ${{ secrets.PREEM_PUSH_TOKEN }}
|
||||||
|
|
||||||
# nightly-flake-update.yaml opens PRs from flake-update-* branches; if
|
# nightly-flake-update.yaml opens PRs from flake-update-* branches; if
|
||||||
# the build fails on one of those, close it rather than leaving a
|
# the build fails on one of those, close it rather than leaving a
|
||||||
|
|
|
||||||
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -736,6 +736,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"preem-bincache": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1790448186,
|
||||||
|
"narHash": "sha256-HujB2GINVEj4QdIa1KSTLwsGHYk0ywDBddfe9R1Z/9Y=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "9a41a48cec4f11cf7dfae586482b6be150e6c80a",
|
||||||
|
"revCount": 12,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://forge.darkest.space/mara/preem-nix-bincache.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://forge.darkest.space/mara/preem-nix-bincache.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"quickshell": {
|
"quickshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -772,6 +792,7 @@
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nova-shell": "nova-shell",
|
"nova-shell": "nova-shell",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
|
"preem-bincache": "preem-bincache",
|
||||||
"servicepoint-cli": "servicepoint-cli",
|
"servicepoint-cli": "servicepoint-cli",
|
||||||
"servicepoint-simulator": "servicepoint-simulator",
|
"servicepoint-simulator": "servicepoint-simulator",
|
||||||
"servicepoint-tanks": "servicepoint-tanks",
|
"servicepoint-tanks": "servicepoint-tanks",
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,10 @@
|
||||||
url = "github:nix-community/NUR";
|
url = "github:nix-community/NUR";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
preem-bincache = {
|
||||||
|
url = "git+https://forge.darkest.space/mara/preem-nix-bincache.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
servicepoint-cli = {
|
servicepoint-cli = {
|
||||||
url = "git+https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git";
|
url = "git+https://git.berlin.ccc.de/servicepoint/servicepoint-cli.git";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
||||||
|
|
@ -6,15 +6,18 @@ let
|
||||||
allDevices = import ./devices.nix { inherit (inputs) self; };
|
allDevices = import ./devices.nix { inherit (inputs) self; };
|
||||||
inherit (inputs)
|
inherit (inputs)
|
||||||
self
|
self
|
||||||
|
# keep-sorted start
|
||||||
home-manager
|
home-manager
|
||||||
lanzaboote
|
lanzaboote
|
||||||
nova-shell
|
nova-shell
|
||||||
|
preem-bincache
|
||||||
servicepoint-cli
|
servicepoint-cli
|
||||||
servicepoint-simulator
|
servicepoint-simulator
|
||||||
servicepoint-tanks
|
servicepoint-tanks
|
||||||
stylix
|
stylix
|
||||||
trollshell
|
trollshell
|
||||||
zerforschen-plus
|
zerforschen-plus
|
||||||
|
# keep-sorted end
|
||||||
;
|
;
|
||||||
forDevice = f: lib.mapAttrs (device: value: f (value // { inherit device; })) allDevices;
|
forDevice = f: lib.mapAttrs (device: value: f (value // { inherit device; })) allDevices;
|
||||||
in
|
in
|
||||||
|
|
@ -46,6 +49,7 @@ forDevice (
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
|
preem-bincache.nixosModules.default
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
trollshell.nixosModules.default
|
trollshell.nixosModules.default
|
||||||
zerforschen-plus.nixosModules.default
|
zerforschen-plus.nixosModules.default
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,9 @@ in
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
{
|
||||||
|
preem-bincache.client.enable = true;
|
||||||
|
}
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue