Commit Graph

5109 Commits

Author SHA1 Message Date
Eelco Dolstra
e5bcb378fa Add support for multiple system profiles
‘nixos-rebuild’ now accepts an argument ‘--profile-name’ (or ‘-p’),
denoting the name of a system profile to use.  The default is
‘system’, which maps to /nix/var/nix/profiles/system.  Any other value
maps to /nix/var/nix/profiles/system-profiles/<name>.  The GRUB menu
generator makes all system profiles available as submenus.  For
instance, doing

  $ nixos-rebuild boot -p test

will cause a menu named ‘NixOS - Profile 'test'’ to be added to the
GRUB boot menu, leaving the default system profile unaffected.

This is only supported for GRUB 2.
2013-10-09 19:13:26 +02:00
Eelco Dolstra
08f8d9507a Load ext2/ext3/ext on demand in the initrd 2013-10-09 19:11:58 +02:00
Eelco Dolstra
05d2d19311 Load LUKS-related kernel modules on demand 2013-10-09 19:11:47 +02:00
Eelco Dolstra
de579ba40b Manual: icecat -> firefox 2013-10-09 15:33:23 +02:00
Eelco Dolstra
58fbf0f18b Fix eval error 2013-10-09 14:30:45 +02:00
Eelco Dolstra
36079454e5 Make it easier to define timer units for services
Systemd services now have a startAt attribute.  If set, NixOS will
automatically emit a timer unit that causes the service to start at
the specified time.  For example:

  systemd.services.foo =
    { script = "... bla bla ...";
      startAt = "02:15";
    };

causes the given script to be started at 02:15 every day.
2013-10-09 14:28:35 +02:00
Eelco Dolstra
87bea0b09e Add more video drivers to the VM image
This might allow it to work in VMware and QEMU.
2013-10-09 13:36:37 +02:00
Eelco Dolstra
3472992188 Only start the VirtualBox guest services if we're in a VirtualBox VM 2013-10-09 13:36:37 +02:00
Eelco Dolstra
d40629ad6d Add the demo user to the vboxsf group to allow mounting of shared folders 2013-10-09 13:36:37 +02:00
Eelco Dolstra
04ca15d840 Don't expand paths during VirtualBox image generation 2013-10-09 13:36:37 +02:00
Evgeny Egorochkin
3767eecd99 kde4: install mysql by default since it's used by akonadi 2013-10-08 17:47:17 +03:00
Eelco Dolstra
687e0059d5 Generate a VirtualBox appliance (in OVF format) instead of a disk image 2013-10-08 15:40:48 +02:00
Eelco Dolstra
5c17d7d2a6 Lack of laziness strikes again... 2013-10-07 11:32:28 +02:00
Eelco Dolstra
a8fa59aa73 Amazon's pv-grub is GRUB 1 2013-10-07 11:13:58 +02:00
Eelco Dolstra
316326e4e6 Give the VDI generator more memory
These out of memory conditions are highly unpredictable, which is very
annoying.

http://hydra.nixos.org/build/6411393
2013-10-07 11:08:01 +02:00
Eelco Dolstra
3ba15358bc Make GRUB 2 the default
Fixes #269.
2013-10-07 11:07:07 +02:00
Eelco Dolstra
8ec44f343d Add some missing option types 2013-10-07 11:07:06 +02:00
Eelco Dolstra
7459f6fa38 Disallow Memtest86+ with GRUB 1
The GRUB entry as given is syntactically invalid.
2013-10-07 11:07:06 +02:00
Domen Kožar
84926ae0db Merge pull request #270 from aristidb/master
Add simple rsnapshot module
2013-10-06 14:40:23 -07:00
Aristid Breitkreuz
5e07af062d rsnapshot: do not use /etc/rsnapshot.conf 2013-10-06 23:36:07 +02:00
Aristid Breitkreuz
2700a13596 rsnapshot: extraConfiguration -> extraConfig 2013-10-06 23:05:30 +02:00
Aristid Breitkreuz
fa1f5e5b75 implement bjornfors comments 2013-10-06 23:02:41 +02:00
Aristid Breitkreuz
cd98acd3a7 add simple rsnapshot module 2013-10-06 22:23:52 +02:00
Evgeny Egorochkin
56e5b35f2e Properly wipe .compose-cache.
Fixes #267.
2013-10-06 10:53:05 +03:00
Eelco Dolstra
7808044ba7 Remove the nixos.unstable job from the trunk-combined jobset 2013-10-06 00:22:47 +02:00
Domen Kožar
a09ca7c3d3 Merge pull request #209 from MarcWeber/submit/firebird
systemd/firebird
2013-10-05 14:13:50 -07:00
Marc Weber
5dbc5f120c firebird service
many suggestions contributed by bjornfor and edolstra
2013-10-05 23:07:33 +02:00
Rok Garbas
c95d830839 adding http_address option to varnish service 2013-10-04 00:24:59 +02:00
Rok Garbas
7b6e26b380 some more zope2 service improvements 2013-10-04 00:24:18 +02:00
Rok Garbas
4ff36cb137 zope2 service fixes 2013-10-03 20:01:58 +02:00
Domen Kožar
fb34754933 Prettify graphite service
cc @offlinehacker
2013-10-03 16:20:48 +02:00
Rok Garbas
81d28e744c zope2 service (plone) 2013-10-02 15:15:40 +02:00
Eelco Dolstra
17f519e590 Use "cp" instead of "rsync" for VirtualBox image generation
Rsync appears to use a lot of memory.  Fixes #266.
2013-10-02 14:19:26 +02:00
Sander van der Burg
472aff23b7 Move run-in-machine test to a different place, because it does not conform to the other testcases' interface 2013-10-02 13:25:51 +02:00
Eelco Dolstra
c13041c65c Unify the two Memtest modules
This means we now have Memtest86+ on the installation CD.
2013-10-02 12:33:06 +02:00
Sander van der Burg
1c58fbe4a9 Fix run-in-machine testcase + add it to the tests 2013-10-02 12:06:02 +02:00
Sander van der Burg
afdae66335 The testing interface does not take nixpkgs as a parameter anymore => fix this 2013-10-02 11:47:28 +02:00
Eelco Dolstra
c9b4e6fda2 Don't disable D-Bus if environment.noXlibs is set
D-Bus cannot be disabled since systemd/logind depend on it.
2013-10-01 14:45:20 +02:00
Eelco Dolstra
ed5fbf0082 Don't spam the user 2013-10-01 13:53:56 +02:00
Alexei Robyn
869be5611d Added support for -I flag to nixos-install 2013-09-30 13:27:08 +02:00
Peter Simons
c811d79c98 Merge pull request #262 from offlinehacker/fix/stage_2_lib_var_db
stage-2-init: create /var/lib and /var/db at boot, so some modules that create user home folders here don't fail
2013-09-30 01:38:56 -07:00
Shea Levy
6e604c8787 enableSplashScreen is no longer a valid option
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-09-27 10:50:52 -04:00
Domen Kožar
5384b04ead bash: fix broken completion 2013-09-27 01:15:22 +02:00
Eelco Dolstra
df6f5ade40 cupsd: Use Type=forking
http://hydra.nixos.org/build/6291101
2013-09-26 23:56:38 +02:00
Eelco Dolstra
e1318e6026 cupsd: Log to syslog (and thus the journal) 2013-09-26 21:05:20 +02:00
Eelco Dolstra
a26e4a43f3 Add a test for CUPS 2013-09-26 21:05:20 +02:00
Eelco Dolstra
82e1d0c8b1 Remove services.ttyBackgrounds
This hasn't worked in a long time.
2013-09-26 17:33:52 +02:00
Eelco Dolstra
b7b2476499 Remove the portmap module
It's obsoleted by rpcbind.
2013-09-26 17:04:07 +02:00
Jaka Hudoklin
12dda685ee stage-2-init: create /var/lib and /var/db at boot, so some modules that create user home folders here don't fail 2013-09-26 16:38:12 +02:00
Eelco Dolstra
f70fbb1791 Fix duplicated environment values
All profileVariables listed each profile twice (e.g. $PATH contained
$HOME/.nix-profile/bin twice).  This is because mergeAttrsWithFunc is
broken (and deprecated):

  nix-repl> :p mergeAttrsWithFunc concat { x = [1]; } { y = [2]; }
  { x = [ 1 ]; y = [ 2 2 ]; }

So use zipAttrsWith instead.
2013-09-25 00:48:28 +02:00