copy party wooo
Some checks failed
/ ci (push) Has been cancelled

This commit is contained in:
Callum Leslie 2025-08-05 10:36:07 +01:00
parent 09787eec8f
commit 5640ce5d13
Signed by: cleslie
GPG key ID: D382C4AFEECEAA90
6 changed files with 89 additions and 5 deletions

View file

@ -9,7 +9,7 @@
} @ inputs: let
mods = import ./modules;
cLib = import ./lib {inherit (nixpkgs) lib;};
mkLinuxSystem = mod:
mkLinuxSystem = mod: ovl:
nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs cLib;};
modules =
@ -19,7 +19,7 @@
inputs.agenix.nixosModules.default
{
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [self.overlays.default];
nixpkgs.overlays = [self.overlays.default] ++ ovl;
}
]
++ mod
@ -39,8 +39,8 @@
inherit (mods) homeManagerModules nixosModules;
# TODO: use ./hosts/
nixosConfigurations = {
artemis = mkLinuxSystem [./hosts/artemis inputs.lanzaboote.nixosModules.lanzaboote];
hermes = mkLinuxSystem [./hosts/hermes];
artemis = mkLinuxSystem [./hosts/artemis inputs.lanzaboote.nixosModules.lanzaboote] [];
hermes = mkLinuxSystem [./hosts/hermes inputs.copyparty.nixosModules.default] [inputs.copyparty.overlays.default];
};
diskoConfigurations = {}; # maybe?
om.health.default = {nix-version.min-required = "2.18.5";};
@ -178,5 +178,9 @@
systems.follows = "systems";
};
};
copyparty = {
url = "github:9001/copyparty";
inputs.nixpkgs.follows = "unstable";
};
};
}