snix/users/aspen/system/system/iso.nix
Aspen Smith 1cebb775f1 feat(aspen/system): Switch linux user login to aspen
Change-Id: I10369a20db3f1be92caf0bace94e8beb6af1dbaa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11302
Tested-by: BuildkiteCI
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: aspen <root@gws.fyi>
2024-03-31 18:33:28 +00:00

22 lines
682 B
Nix

{ 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