Setup vaultwarden on astral

This commit is contained in:
Nettika 2025-10-08 21:45:43 -07:00
parent 660426df1f
commit b665d7cffe
8 changed files with 51 additions and 22 deletions

View file

@ -1,25 +1,24 @@
{ self, nixpkgs, phps, agenix, ... }:
let inherit (nixpkgs.lib) nixosSystem;
let
baseSpecialArgs = {
inherit (self) nixosModules;
inherit agenix;
};
nixosSystem = args:
nixpkgs.lib.nixosSystem
(nixpkgs.lib.recursiveUpdate args { specialArgs = baseSpecialArgs; });
in {
marauder = nixosSystem {
system = "x86_64-linux";
modules = [ ./marauder ];
specialArgs = {
inherit (self) nixosModules;
inherit phps agenix;
};
specialArgs = { inherit phps; };
};
astral = nixosSystem {
system = "x86_64-linux";
modules = [ ./astral ];
specialArgs = { inherit (self) nixosModules; };
};
quasar = nixosSystem {
system = "x86_64-linux";
modules = [ ./quasar ];
specialArgs = {
inherit (self) nixosModules;
inherit agenix;
};
};
}