remove application specific things from the base box

This commit is contained in:
chrisfarms 2014-01-31 17:57:31 +00:00
parent 00f6162187
commit f0d017a201
4 changed files with 5 additions and 14 deletions

View file

@ -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; [

View file

@ -1,2 +0,0 @@
CREATE ROLE vagrant WITH CREATEDB LOGIN;

View file

@ -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

View file

@ -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"
} }
] ]
} }