nixos-configuration/digital-ocean/23.11pre-git/flake.nix

23 lines
516 B
Nix
Raw Normal View History

{
description = "A NixOS image builder for DigitalOcean.";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
module = {
imports = [
"${nixpkgs}/nixos/modules/virtualisation/digital-ocean-image.nix"
];
2023-12-10 02:50:40 +00:00
system.stateVersion = "23.11";
};
2023-12-08 00:13:57 +00:00
in {
packages.${system}.default = (pkgs.nixos module).digitalOceanImage;
};
}