infra/flake.nix
2024-05-26 20:10:31 +01:00

25 lines
484 B
Nix

{
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-23.11";
};
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, agenix, ... }:
let
in
{
nixosConfigurations.shorkbox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
agenix.nixosModules.default
./machine/configuration.nix
./roles/station.nix
];
};
};
}