about summary refs log tree commit diff
path: root/users/aspen/system/system/iso.nix
blob: ef5d3ed78bb0b099c44a009e2eac24a80cded6af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ depot, lib, pkgs, ... }:

let
  configuration = { ... }: {
    imports = [
      (pkgs.path + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
      (pkgs.path + "/nixos/modules/installer/cd-dvd/channel.nix")
    ];

    networking.networkmanager.enable = true;
    networking.useDHCP = false;
    networking.firewall.enable = false;
    networking.wireless.enable = lib.mkForce false;

    # TODO(aspen): enabling this (in the minimal profile) fails the iso build,
    # since gtk+3 needs to be built which fails due to cairo without xlibs
    environment.noXlibs = false;
  };
in
(depot.third_party.nixos {
  inherit configuration;
}).config.system.build.isoImage