-
Notifications
You must be signed in to change notification settings - Fork 1
/
release.nix
81 lines (64 loc) · 1.85 KB
/
release.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
with import <nixpkgs> {};
{
config ? import <nixpkgs/config> {}
, pkgs ? import <nixpkgs> {}
, ...
}:
let
# Include applicetions plugin file
nixtackApps = pkgs.callPackages ./applicationsPlugin.nix {};
in
rec {
#imports = [
# # Include OpenStack options plugin file
# ./optionsPlugin.nix
#];
openstackclient = nixtackApps.openstackclient;
keystone = nixtackApps.keystone;
glance = nixtackApps.glance;
nova = nixtackApps.nova;
neutron = nixtackApps.neutron;
horizon = nixtackApps.horizon;
ironic = nixtackApps.ironic;
##############################
# This code's mod options #
##############################
# Enable horizon
# (If horizon is enable, there run nginx and uwsgi.)
#horizon-options = {
# enable = true;
# memcachedServer = "localhost";
# memcachedPort = 11211;
# keystoneServer = "localhost";
#};
# Enable neutron
# (If neutron is enable, there are installed some packages on system,
# ebtables, bridge-utils, dnsmasq, ipset, conntrack_tools.
# And, there is set "networking.firewall.checkReversePath = false".)
#neutron-options = {
# enable = true;
# nodeType = "control";
#};
# Enable nova
#nova-options = {
# enable = true;
# nodeType = "control";
#};
# Enable glance
#glance-options.enable = true;
# Enable keystone
# (If keystone is enable, there run nginx and uwsgi.)
#keystone-options = {
# enable = true;
# databaseUser = "keystone";
# databasePassword = "keystone_password";
# databaseName = "keystone";
# databaseServer = "localhost";
#};
# Enable libvirtd
#libvirt-options.enable = true;
#libvirt-options.enableKVM = true;
}