openstack-image: minor cleanups

Format and remove unnecessary `with lib;`.
This commit is contained in:
Graham Christensen 2022-02-03 09:56:55 -05:00
parent 216c78db4d
commit b3dfff282b

View File

@ -1,14 +1,11 @@
# nix-build '<nixpkgs/nixos>' -A config.system.build.openstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/openstack-image.nix ]; }" # nix-build '<nixpkgs/nixos>' -A config.system.build.openstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/openstack/openstack-image.nix ]; }"
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
{ {
imports = imports = [
[ ../../../modules/installer/cd-dvd/channel.nix ../../../modules/installer/cd-dvd/channel.nix
../../../modules/virtualisation/openstack-config.nix ../../../modules/virtualisation/openstack-config.nix
]; ];
system.build.openstackImage = import ../../../lib/make-disk-image.nix { system.build.openstackImage = import ../../../lib/make-disk-image.nix {
inherit lib config; inherit lib config;