machines-config/flake.nix

26 lines
589 B
Nix
Raw Normal View History

2024-12-18 11:34:20 +01:00
{
description = "KropCloud system flakes";
inputs = {
2024-12-18 20:23:38 +01:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
2024-12-18 11:34:20 +01:00
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{ self, nixpkgs, ... }:
let
kclib = (import ./lib.nix);
in
{
nixosConfigurations = {
gateway = kclib.mkHost "gateway" "x86_64-linux";
2024-12-18 20:23:38 +01:00
entrypoint = kclib.mkHost "entrypoint" "x86_64-linux";
2024-12-18 11:34:20 +01:00
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}