remove application specific things from the base box
This commit is contained in:
parent
00f6162187
commit
f0d017a201
|
@ -23,17 +23,6 @@
|
||||||
# Enable DBus
|
# Enable DBus
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
|
||||||
# Enable postgres
|
|
||||||
services.postgresql = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.postgresql93;
|
|
||||||
enableTCPIP = true;
|
|
||||||
authentication = pkgs.lib.mkForce ''
|
|
||||||
local all all trust
|
|
||||||
host all all 127.0.0.1/32 trust
|
|
||||||
'';
|
|
||||||
initialScript = "/etc/nixos/init.psql";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Default packages
|
# Default packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
CREATE ROLE vagrant WITH CREATEDB LOGIN;
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Switch to unstable channel
|
||||||
|
nix-channel --remove nixos
|
||||||
|
nix-channel --add http://nixos.org/channels/nixos-unstable nixos
|
||||||
|
|
||||||
# Update and initialize our new configuration
|
# Update and initialize our new configuration
|
||||||
nixos-rebuild switch --upgrade
|
nixos-rebuild switch --upgrade
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
"post-processors": [
|
"post-processors": [
|
||||||
{
|
{
|
||||||
"type": "vagrant",
|
"type": "vagrant",
|
||||||
"output": "cycle-13.10-x86_64-{{.Provider}}.box"
|
"output": "cycle-14.02-x86_64-{{.Provider}}.box"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue