about summary refs log tree commit diff
path: root/users/grfn/system/system/iso.nix
blob: 4adccebfb8a29e961534d0606fc1e7c746ca0183 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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