nix-ota/examples/server-host/flake.nix

20 lines
513 B
Nix
Raw Normal View History

{
description = "ota.example.com nix-ota control plane + binary cache";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nix-ota.url = "git+https://linus.dyrehytten.dk/max/nix-ota";
nix-ota.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nix-ota, ... }: {
nixosConfigurations.ota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nix-ota.nixosModules.server
./configuration.nix
];
};
};
}