nixos-config/machines/iso-image/default.nix
2021-06-07 18:24:35 +03:00

13 lines
506 B
Nix

{ modulesPath, lib, inputs, pkgs, ... }: {
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
inputs.self.nixosProfiles.base
];
networking.wireless.enable = lib.mkForce false;
services.openssh.permitRootLogin = lib.mkForce "no";
services.getty.autologinUser = lib.mkForce "balsoft";
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
boot.supportedFilesystems = lib.mkForce [ "ext4" "vfat" ];
disabledModules = [ "installer/cd-dvd/channel.nix" ];
}