Eelco Dolstra
458f36f5f1
Turn fileSystems into an attribute set
...
So now you can write
fileSystems =
[ { mountPoint = "/";
device = "/dev/sda1";
}
];
as
fileSystems."/".device = "/dev/sda1";
2012-11-02 18:02:12 +01:00
Eelco Dolstra
97f087cd44
Turn networking.interfaces into an attribute set
...
Thus
networking.interfaces = [ { name = "eth0"; ipAddress = "192.168.15.1"; } ];
can now be written as
networking.interfaces.eth0.ipAddress = "192.168.15.1";
The old notation still works though.
2012-11-02 17:08:11 +01:00
Eelco Dolstra
6ae0b3beed
dhcpcd: Don't use --background so that fetch-ec2-data can be ordered after it
2012-11-02 14:20:05 +01:00
Eelco Dolstra
4764848314
Remove some obsolete options
2012-10-29 21:10:00 +01:00
Eelco Dolstra
65eae4dd34
Update libvirt for systemd
2012-10-26 16:22:19 +02:00
Eelco Dolstra
1c53b2e299
Don't flush addresses unless necessary
...
Flushing is bad if the Nix store is on a remote filesystem accessed
over that interface.
http://hydra.nixos.org/build/3184162
Also added a interface option ‘prefixLength’ as a better alternative
to ‘subnetMask’.
2012-10-11 15:36:52 -04:00
Eelco Dolstra
ad94b9e50e
Use optionalAttrs
2012-10-10 16:49:47 -04:00
Eelco Dolstra
98c6c5b730
fetch-ec2-data: Update for systemd
2012-10-04 23:26:19 -04:00
Eelco Dolstra
b02c488fde
Automatically append ".service" to the name of service units
2012-08-23 10:25:27 -04:00
Eelco Dolstra
08f14b33c1
Merge branch 'master' of github.com:NixOS/nixos into systemd
2012-08-20 11:27:38 -04:00
Eelco Dolstra
a025e7e7e2
Provide a common share between VMs to allow easy communication
...
Every VM now mounts a common SMB share on /tmp/shared.
2012-08-16 10:47:33 -04:00
Eelco Dolstra
5ae6385175
qemu-vm.nix: Use ext4 instead of ext3
2012-08-09 10:00:49 -04:00
Shea Levy
9d8ddd90f9
qemu mounts /nix/store via CIFS
2012-08-07 16:44:15 -04:00
Shea Levy
13d8856a4f
qemu requires VIRTIO_NET (and dependencies) for virtio networking
2012-08-07 16:25:11 -04:00
Shea Levy
805d37db48
qemu-vm creates an ext3 filesystem
2012-08-07 07:02:08 -04:00
Shea Levy
11e5207a2d
qemu requires VIRTIO_BLK (and dependencies) for virtio drives
2012-08-06 17:10:54 -04:00
Eelco Dolstra
27f496c1ce
Make the VirtualBox guest services depend on /dev/vboxguest
...
Systemd #ftw
2012-08-06 14:59:58 -04:00
Shea Levy
e66bcbd58a
The kernel needs SERIAL_8250_CONSOLE when using a real serial port as a console
2012-08-06 08:13:06 -04:00
Eelco Dolstra
16da4a14f1
amazon-image.nix: Don't put any old configurations in the GRUB menu
2012-07-25 16:38:05 -04:00
Eelco Dolstra
b3b6b8ad60
virtualbox-image.nix: VirtualBox disks are /dev/sda, not /dev/vda
2012-07-24 19:07:03 -04:00
Eelco Dolstra
5a0cf5e7b6
Use ext4 for VirtualBox images
2012-07-23 14:01:10 -04:00
Eelco Dolstra
7613ae950a
Fix booting on EC2
...
The kill command in ash doesn't know the "--" syntax, but doesn't need
it either.
2012-06-24 19:02:34 -04:00
Eelco Dolstra
9692495df0
Use BusyBox in the initrd
...
Using BusyBox instead of Bash plus a bunch of other tools gives us a
much more feature-full, yet smaller initrd. In particular, BusyBox
contains networking commands such as ip and a DHCP client, useful for
NFS boots. It's also much more convenient for rescue situations
because the shell has builtin readline support and there are many more
tools (including vi).
2012-06-22 10:43:06 -04:00
Eelco Dolstra
a3118792a5
* Make the ACPI Shutdown command in VirtualBox to do the right thing.
...
svn path=/nixos/trunk/; revision=34473
2012-06-11 22:37:55 +00:00
Lluís Batlle i Rossell
a257bf78cb
Making the virtualbox-guest module be evaluated only in i686 and x86_64.
...
On mips, an assertion in the nixpkgs virtualbox was failing.
svn path=/nixos/trunk/; revision=34464
2012-06-11 17:31:03 +00:00
Eelco Dolstra
9dadfc3541
* Mark QEMU VMs as NixOS machines.
...
svn path=/nixos/trunk/; revision=34217
2012-05-23 15:40:31 +00:00
Eelco Dolstra
3b314fa40b
* Include cryptsetup in EC2 AMIs.
...
svn path=/nixos/trunk/; revision=34096
2012-05-14 23:43:38 +00:00
Eelco Dolstra
03f2847054
* Set preferLocalBuild on a few trivial top-level derivations. These
...
tend to cause a lot of unnecessary I/O to the build machines.
svn path=/nixos/trunk/; revision=33936
2012-04-26 15:19:23 +00:00
Eelco Dolstra
fa50d105d7
* Pass -cpu kvm64 in NixOS VMs (and add a simple regression test for
...
GMP).
svn path=/nixos/trunk/; revision=33849
2012-04-19 18:56:35 +00:00
Eelco Dolstra
43f43fd185
* Only stop libvirt-guests automatically on system shutdown.
...
Saving/restoring VMs is disruptive.
svn path=/nixos/trunk/; revision=33844
2012-04-19 15:12:55 +00:00
Eelco Dolstra
2821289aeb
* Ugly hack: force udev to exit to prevent random "Device or resource
...
busy while trying to open /dev/xvda" errors from fsck.
svn path=/nixos/trunk/; revision=33766
2012-04-12 18:01:19 +00:00
Eelco Dolstra
185e9b69ed
* Assume that the ephemeral devices are called /dev/xvda-e. So
...
in Charon deployments, non-ephemeral devices should be >= /dev/xvdf.
svn path=/nixos/trunk/; revision=33764
2012-04-12 16:48:01 +00:00
Eelco Dolstra
83679c99b1
* Don't put /var and /nix on ephemeral storage if we're booting
...
from EBS.
svn path=/nixos/trunk/; revision=33716
2012-04-10 11:11:05 +00:00
Eelco Dolstra
852e513638
* Handle booting from /dev/xvda.
...
svn path=/nixos/trunk/; revision=33645
2012-04-06 12:23:12 +00:00
Eelco Dolstra
040042b8a5
* Blackhole the address 169.254.169.254 after we've obtained the user
...
data to prevent non-root processes from getting the private host
key.
svn path=/nixos/trunk/; revision=33442
2012-03-27 14:51:08 +00:00
Eelco Dolstra
7c75b046ea
* Fix the permissions on /dev/vboxuser in VirtualBox guests.
...
svn path=/nixos/trunk/; revision=33372
2012-03-23 11:52:06 +00:00
Eelco Dolstra
b46e911012
* Fix some references to dhclient.
...
svn path=/nixos/trunk/; revision=33359
2012-03-22 13:02:42 +00:00
Rob Vermaas
a525074f43
increase size of virtualbox image
...
svn path=/nixos/trunk/; revision=33357
2012-03-22 12:58:45 +00:00
Eelco Dolstra
86d8d62d16
* Allow Upstart jobs to declare that they shouldn't be restarted by
...
switch-to-configuration. E.g. the X server shouldn't be restarted
because that kills all the X clients.
svn path=/nixos/trunk/; revision=33223
2012-03-18 02:10:39 +00:00
Eelco Dolstra
53bd25c7fa
* Automatically start VBoxClient-all when the X session starts. This
...
allows seamless windows, resizing of the desktop, cut and paster,
etc.
svn path=/nixos/trunk/; revision=33131
2012-03-16 01:29:51 +00:00
Eelco Dolstra
4adc99f9a5
* Enable the VirtualBox X11 display and mouse drivers.
...
svn path=/nixos/trunk/; revision=33130
2012-03-16 01:03:09 +00:00
Eelco Dolstra
974a74ad49
* enableWLAN -> wireless.enable.
...
svn path=/nixos/trunk/; revision=32788
2012-03-04 21:15:34 +00:00
Eelco Dolstra
f55cf99c7c
* Typo.
...
svn path=/nixos/trunk/; revision=32571
2012-02-26 00:12:04 +00:00
Eelco Dolstra
933ce8e9c8
* Module for building a VirtualBox disk image (.vdi). TODO: merge
...
this with the Amazon and Nova image builders.
svn path=/nixos/trunk/; revision=32570
2012-02-25 21:36:00 +00:00
Eelco Dolstra
d9d6fb58e4
* Prevent the VirtualBox guest additions from being restarted
...
constantly by Upstart. Also move the module to a better location.
svn path=/nixos/trunk/; revision=32565
2012-02-25 20:10:53 +00:00
Eelco Dolstra
8f8472d444
* Fix bad default.
...
svn path=/nixos/trunk/; revision=32525
2012-02-23 21:25:22 +00:00
Eelco Dolstra
3e30d87c26
* aufs2 -> aufs.
...
svn path=/nixos/trunk/; revision=30323
2011-11-08 15:12:11 +00:00
Eelco Dolstra
5e5328cb2e
* Get the SSH host key from the user data if available. This allows
...
the user to create an instance with a known host key, and thus
permit a secure connection.
svn path=/nixos/trunk/; revision=30242
2011-11-05 01:44:56 +00:00
Eelco Dolstra
3d5f3aa2b4
* Print the host key after sshd has started to prevent a potential race.
...
svn path=/nixos/trunk/; revision=30236
2011-11-04 20:33:24 +00:00
Eelco Dolstra
8a0a0efb48
* Force getting the hostname from EC2.
...
svn path=/nixos/trunk/; revision=30235
2011-11-04 20:06:59 +00:00