CASCADE/profiles/iso/default.nix
James Andariese 890df16225 make an iso profile for building isos
nix-build "<nixpkgs/nixos>" -A config.system.build.isoImage -I nixos-config=$PWD/profiles/iso -o iso
2022-09-28 07:21:04 -05:00

14 lines
502 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (toString ../base) "${import ../../nixpkgs-path.nix}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" ];
config = {
hardware.video.hidpi.enable = lib.mkDefault true;
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
};
}