depot/ops/nixos/installcd/default.nix

23 lines
551 B
Nix
Raw Normal View History

2021-03-18 23:51:38 +00:00
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, lib, pkgs, config, ... }:
2021-03-18 23:51:38 +00:00
let
inherit (depot.ops) secrets;
in {
imports = [
../../../third_party/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
];
isoImage.isoName = lib.mkForce "nixos-${depot.version}-${pkgs.stdenv.hostPlatform.system}.iso";
isoImage.storeContents = [
depot.ops.nixos.systems.etheroute-lon01
];
2021-03-18 23:51:38 +00:00
system.disableInstallerTools = false;
system.stateVersion = "22.05";
2021-03-18 23:51:38 +00:00
}