32 lines
789 B
Nix
Executable file
32 lines
789 B
Nix
Executable file
{
|
|
description = "Marauder NixOS Configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
phps = {
|
|
url = "github:fossar/nix-phps";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, phps, agenix }:
|
|
let inherit (nixpkgs.lib) nixosSystem;
|
|
in {
|
|
nixosModules.common = ./modules/common.nix;
|
|
nixosConfigurations = {
|
|
marauder = nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./hosts/marauder
|
|
self.nixosModules.common
|
|
agenix.nixosModules.default
|
|
];
|
|
specialArgs = { inherit phps agenix; };
|
|
};
|
|
};
|
|
};
|
|
}
|