nixos/iso-image: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-28 21:18:52 +02:00 committed by Jörg Thalheim
parent 948d8eafbe
commit a15394d51a

View File

@ -1,10 +1,6 @@
# This module contains the basic configuration for building a NixOS
# installation CD.
{ config, lib, options, pkgs, ... }:
with lib;
{
imports =
[ ./iso-image.nix
@ -32,8 +28,8 @@ with lib;
# An installation media cannot tolerate a host config defined file
# system layout on a fresh machine, before it has been formatted.
swapDevices = mkImageMediaOverride [ ];
fileSystems = mkImageMediaOverride config.lib.isoFileSystems;
swapDevices = lib.mkImageMediaOverride [ ];
fileSystems = lib.mkImageMediaOverride config.lib.isoFileSystems;
boot.postBootCommands = ''
for o in $(</proc/cmdline); do