43 lines
1.1 KiB
Nix
Executable file
43 lines
1.1 KiB
Nix
Executable file
{
|
|
description = "Marauder NixOS Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
nixpkgs-vicuna.url = "github:nixos/nixpkgs/nixos-24.11";
|
|
phps = {
|
|
url = "github:fossar/nix-phps";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-vicuna, phps, agenix }: {
|
|
nixosModules.common = ./modules/common.nix;
|
|
nixosConfigurations = {
|
|
marauder = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/marauder
|
|
self.nixosModules.common
|
|
agenix.nixosModules.default
|
|
{
|
|
environment.systemPackages =
|
|
[ agenix.packages.x86_64-linux.default ];
|
|
}
|
|
];
|
|
specialArgs = { inherit phps; };
|
|
};
|
|
apogee = nixpkgs-vicuna.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/apogee
|
|
self.nixosModules.common
|
|
agenix.nixosModules.default
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|