nixos/flake.nix
2022-10-26 21:28:52 +01:00

22 lines
582 B
Nix

{
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;
}
];
};
};
}