2023-08-29 13:23:48 +02:00
|
|
|
{
|
|
|
|
description = "example flake idk";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
2023-11-07 15:52:47 +01:00
|
|
|
|
2023-11-08 14:42:16 +01:00
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
ragenix = {
|
|
|
|
url = "github:yaxitech/ragenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-11-08 15:18:44 +01:00
|
|
|
lanzaboote = {
|
|
|
|
url = "github:nix-community/lanzaboote";
|
2023-11-08 14:42:16 +01:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
2023-11-08 15:18:44 +01:00
|
|
|
flake-parts.follows = "flake-parts";
|
2023-11-08 14:42:16 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-11-08 15:18:44 +01:00
|
|
|
getchvim = {
|
|
|
|
url = "github:getchoo/getchvim";
|
2023-11-08 14:42:16 +01:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.follows = "nixpkgs";
|
2023-11-08 15:18:44 +01:00
|
|
|
parts.follows = "flake-parts";
|
2023-11-08 14:42:16 +01:00
|
|
|
};
|
2023-11-07 15:52:47 +01:00
|
|
|
};
|
2023-08-29 13:23:48 +02:00
|
|
|
};
|
|
|
|
|
2023-11-08 14:42:16 +01:00
|
|
|
outputs = {
|
|
|
|
nixpkgs,
|
|
|
|
ragenix,
|
2023-11-08 15:18:44 +01:00
|
|
|
lanzaboote,
|
2023-11-08 14:42:16 +01:00
|
|
|
...
|
2023-11-08 15:18:44 +01:00
|
|
|
} @ inputs: let
|
|
|
|
modules' = [ragenix.nixosModules.default lanzaboote.nixosModules.lanzaboote];
|
|
|
|
in {
|
2023-11-07 19:01:37 +01:00
|
|
|
nixosConfigurations.fuji = nixpkgs.lib.nixosSystem {
|
2023-08-29 13:23:48 +02:00
|
|
|
system = "x86_64-linux";
|
2023-11-08 15:18:44 +01:00
|
|
|
modules = [./fuji.nix] ++ modules';
|
2023-11-07 19:01:37 +01:00
|
|
|
specialArgs = inputs;
|
2023-11-06 13:30:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nixosConfigurations.kilimandjaro = inputs.nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-11-08 15:18:44 +01:00
|
|
|
modules = [./kilimandjaro.nix] ++ modules';
|
2023-11-07 19:01:37 +01:00
|
|
|
specialArgs = inputs;
|
2023-08-29 13:23:48 +02:00
|
|
|
};
|
2023-11-05 22:49:25 +01:00
|
|
|
|
2023-11-07 19:01:37 +01:00
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
2023-08-29 13:23:48 +02:00
|
|
|
};
|
|
|
|
}
|