mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
openstack-image: minor cleanups
Format and remove unnecessary `with lib;`.
This commit is contained in:
parent
216c78db4d
commit
b3dfff282b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user