20 lines
513 B
Nix
20 lines
513 B
Nix
|
|
{
|
||
|
|
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
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|