22 lines
542 B
Nix
22 lines
542 B
Nix
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
{ depot, lib, pkgs, rebuilder, config, ... }:
|
||
|
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.contents = lib.mkAfter [{
|
||
|
source = /home/lukegb/depot;
|
||
|
target = "/depot";
|
||
|
}];
|
||
|
|
||
|
system.stateVersion = "21.05";
|
||
|
}
|