nixos/flake.nix

62 lines
1.9 KiB
Nix
Raw Normal View History

2022-10-25 19:56:22 +01:00
{
inputs = {
2022-11-20 19:27:37 +00:00
nixpkgs.url = "github:nixos/nixpkgs?rev=b68a6a27adb452879ab66c0eaac0c133e32823b2";
nixpkgs-unstable.url = "github:nixos/nixpkgs?rev=52b2ac8ae18bbad4374ff0dd5aeee0fdf1aea739";
2022-11-20 20:29:49 +00:00
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
2022-10-25 19:56:22 +01:00
};
description = "Hillion Nix flake";
2022-11-20 20:29:49 +00:00
outputs = { self, nixpkgs, nixpkgs-unstable, agenix }@inputs: {
2022-11-18 20:47:23 +00:00
nixosConfigurations."gendry.jakehillion-terminals.ts.hillion.co.uk" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./hosts/gendry.jakehillion-terminals.ts.hillion.co.uk/default.nix
agenix.nixosModule
{
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
];
};
2022-10-25 19:56:22 +01:00
nixosConfigurations."vm.strangervm.ts.hillion.co.uk" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./hosts/vm.strangervm.ts.hillion.co.uk/default.nix
2022-11-20 20:29:49 +00:00
agenix.nixosModule
2022-10-25 19:56:22 +01:00
{
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
];
};
2022-10-30 20:49:38 +00:00
nixosConfigurations."microserver.parents.ts.hillion.co.uk" = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./hosts/microserver.parents.ts.hillion.co.uk/default.nix
2022-11-20 20:29:49 +00:00
agenix.nixosModule
2022-10-30 20:49:38 +00:00
{
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
];
};
2022-10-22 22:18:32 +01:00
nixosConfigurations."microserver.home.ts.hillion.co.uk" = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./hosts/microserver.home.ts.hillion.co.uk/default.nix
2022-11-20 20:29:49 +00:00
agenix.nixosModule
2022-10-22 22:18:32 +01:00
{
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
];
};
2022-10-25 19:56:22 +01:00
};
}