mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(ci): cache overlaid packages
This commit is contained in:
parent
fc930cd4a2
commit
e8b8ddccca
6 changed files with 230 additions and 203 deletions
32
ci/packages.nix
Normal file
32
ci/packages.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
channels,
|
||||
...
|
||||
}: let
|
||||
inherit (channels.nixfiles) packages legacyPackages;
|
||||
in {
|
||||
tasks = {
|
||||
devShell.inputs = with packages.x86_64-linux; [
|
||||
deploy-rs
|
||||
terraform tflint
|
||||
alejandra deadnix statix
|
||||
ssh-to-age
|
||||
];
|
||||
|
||||
# build+cache packages customized or added via overlay
|
||||
barcodebuddy.inputs = packages.x86_64-linux.barcodebuddy;
|
||||
samba.inputs = with packages.x86_64-linux; [
|
||||
legacyPackages.x86_64-linux.pkgs.samba
|
||||
samba-ldap
|
||||
freeipa-ipasam
|
||||
];
|
||||
nfs.inputs = [
|
||||
packages.x86_64-linux.nfs-utils-ldap
|
||||
];
|
||||
krb5.inputs = [
|
||||
packages.x86_64-linux.krb5-ldap
|
||||
legacyPackages.x86_64-linux.pkgs._389-ds-base
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue