infra/flake.nix

26 lines
484 B
Nix
Raw Normal View History

2024-05-26 19:10:31 +00:00
{
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
];
};
};
}