flake/flake.nix

29 lines
662 B
Nix
Raw Normal View History

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
getchvim = {
url = "github:getchoo/getchvim";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-08-29 13:23:48 +02:00
};
2023-11-07 19:01:37 +01:00
outputs = {nixpkgs, ...} @ inputs: {
nixosConfigurations.fuji = nixpkgs.lib.nixosSystem {
2023-08-29 13:23:48 +02:00
system = "x86_64-linux";
modules = [./fuji.nix];
2023-11-07 19:01:37 +01:00
specialArgs = inputs;
};
nixosConfigurations.kilimandjaro = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [./kilimandjaro.nix];
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
};
}