nixos/flake.nix

33 lines
934 B
Nix
Raw Normal View History

2022-10-25 19:56:22 +01:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
description = "Hillion Nix flake";
outputs = { self, nixpkgs, nixpkgs-unstable }@inputs: {
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
{
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
{
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
}
];
};
2022-10-25 19:56:22 +01:00
};
}