about summary refs log tree commit diff
path: root/users/grfn/system/system/iso.nix
blob: 9fa8e7ec7e3ba68ee77ad7ea2d10f908c4368f02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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;
  };
in
(depot.third_party.nixos {
  inherit configuration;
}).config.system.build.isoImage