Setup vaultwarden on astral
This commit is contained in:
parent
660426df1f
commit
b665d7cffe
8 changed files with 51 additions and 22 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue