Watch
0
1
Fork
You've already forked nixos-configuration
0

add preem bincache
Some checks failed
build / build (muede-lpt2) (push) Has been cancelled
build / build (muede-pc2) (push) Has been cancelled
build / close-on-failure (push) Has been cancelled

This commit is contained in:
müde 2026-09-26 21:21:48 +02:00
commit 063c1b1574
5 changed files with 40 additions and 1 deletions

View file

@ -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
View file

@ -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",

View file

@ -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 = {

View file

@ -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

View file

@ -154,6 +154,9 @@ in
}; };
}) })
{
preem-bincache.client.enable = true;
}
] ]
); );
} }