Commit graph

538 commits

Author SHA1 Message Date
Eelco Dolstra
617ebcbcce * Job for ntpd. Doesn't seem to work quite right, but that might be a
VMware problem.

svn path=/nixos/trunk/; revision=7460
2006-12-21 23:43:17 +00:00
Eelco Dolstra
647db4dd2a * Don't try to mount when the mount point isn't there yet.
* Run fsck.

svn path=/nixos/trunk/; revision=7458
2006-12-21 20:08:15 +00:00
Eelco Dolstra
e3acce2f4f * Wait until the temporary udevd is gone.
svn path=/nixos/trunk/; revision=7457
2006-12-21 20:07:46 +00:00
Eelco Dolstra
d54b0a0749 * Don't refer to non-existent groups.
svn path=/nixos/trunk/; revision=7456
2006-12-21 19:22:06 +00:00
Eelco Dolstra
3b9a7c747e * Trigger swap on new-devices.
svn path=/nixos/trunk/; revision=7455
2006-12-21 19:21:36 +00:00
Eelco Dolstra
896a935de1 * Repeatedly unmount file systems until a fixpoint is reached (no more
file systems can be unmounted).
* Remount all un-unmountable file systems as read-only.
* Explicitly call losetup to get rid of loopback devices to work
  around a bug in mount.

svn path=/nixos/trunk/; revision=7454
2006-12-21 18:12:19 +00:00
Eelco Dolstra
bf8e19f6db * Mount file systems until a fixpoint is reached.
* Work properly for loopback mounts.

svn path=/nixos/trunk/; revision=7453
2006-12-21 18:10:33 +00:00
Eelco Dolstra
f89f3c0643 * Emit the new-devices event to cause the filesystems job to be
rerun.

svn path=/nixos/trunk/; revision=7452
2006-12-21 18:09:10 +00:00
Eelco Dolstra
78fcb0a356 * Skip the sys-* events, otherwise we reboot accidentally.
svn path=/nixos/trunk/; revision=7451
2006-12-21 18:08:29 +00:00
Eelco Dolstra
42cf9a9050 * Respect the options and fsType attributes.
* Remount file systems to allow mount options to be changed
  dynamically.

svn path=/nixos/trunk/; revision=7450
2006-12-21 14:44:22 +00:00
Eelco Dolstra
b363fc4c57 * Mount all file systems in the fileSystems option.
svn path=/nixos/trunk/; revision=7449
2006-12-21 14:22:40 +00:00
Eelco Dolstra
c78a1d9781 * Upstart job to start swapping to the devices or files listed in the
swapDevices option.

svn path=/nixos/trunk/; revision=7448
2006-12-21 01:07:23 +00:00
Eelco Dolstra
e060b99c52 * Removed boot.rootDevice, instead obtain the root device from the
filesystems option (specifically the file system with mountPoint ==
  "/").

svn path=/nixos/trunk/; revision=7447
2006-12-21 00:16:20 +00:00
Eelco Dolstra
f9d67afce0 * Options for overriding the set of kernel modules in the initrd.
svn path=/nixos/trunk/; revision=7432
2006-12-19 22:12:44 +00:00
Eelco Dolstra
2d6e8e63ae * Forgot to commit.
svn path=/nixos/trunk/; revision=7430
2006-12-19 21:31:19 +00:00
Eelco Dolstra
a630a314f2 * Wait for jobs to finish.
svn path=/nixos/trunk/; revision=7418
2006-12-19 01:34:09 +00:00
Eelco Dolstra
af1c54fbdc * Subversion subservice.
* Example of a NixOS configuration for a Subversion server.

svn path=/nixos/trunk/; revision=7412
2006-12-19 01:03:15 +00:00
Eelco Dolstra
9f47929138 * Apache configuration.
svn path=/nixos/trunk/; revision=7393
2006-12-18 19:46:48 +00:00
Eelco Dolstra
70f929a0a5 * Upstart job for Apache.
svn path=/nixos/trunk/; revision=7391
2006-12-18 19:20:03 +00:00
Eelco Dolstra
8293f1eb61 svn path=/nixos/trunk/; revision=7388 2006-12-18 17:41:57 +00:00
Eelco Dolstra
1604d2fa81 svn path=/nixos/trunk/; revision=7387 2006-12-18 17:41:46 +00:00
Eelco Dolstra
37c17d7601 * When runtime switching to a new configuration, stop/start/restart
Upstart jobs as appropriate.  I.e., if a job exists in the old but
  not the new configuration, stop it; if it exists in the new but not
  the old, start it; and most interesting, if it exists in both but
  its store paths differ, restart it.  So the purely functional model
  combined cryptographic hashing allows us to precisely identify how
  two configurations differ from each other 

svn path=/nixos/trunk/; revision=7385
2006-12-18 16:27:56 +00:00
Eelco Dolstra
84f1e01646 * Doh.
svn path=/nixos/trunk/; revision=7384
2006-12-18 15:52:43 +00:00
Eelco Dolstra
87e2456814 * Use getenv/useradd.
svn path=/nixos/trunk/; revision=7382
2006-12-18 15:48:29 +00:00
Eelco Dolstra
4ae268739d * Use services.mingetty.ttys.
svn path=/nixos/trunk/; revision=7381
2006-12-18 15:41:18 +00:00
Eelco Dolstra
1852d493f4 * Fix the sshd and xserver jobs.
svn path=/nixos/trunk/; revision=7379
2006-12-18 15:16:20 +00:00
Eelco Dolstra
0e1082ffa9 * Needed for the release job.
svn path=/nixos/trunk/; revision=7362
2006-12-18 00:55:28 +00:00
Armijn Hemel
07c3eefe27 add instruction to add symlink to nixpkgs
svn path=/nixos/trunk/; revision=7361
2006-12-18 00:12:45 +00:00
Eelco Dolstra
c5ab0cec9f * More installer fixes.
svn path=/nixos/trunk/; revision=7359
2006-12-17 00:10:28 +00:00
Eelco Dolstra
a0759a51e9 * Some installer fixes.
* Readme.

svn path=/nixos/trunk/; revision=7358
2006-12-16 23:50:10 +00:00
Eelco Dolstra
3e7f4280df * activate-configuration.sh: make sure that we're running on a NixOS
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
  check for existence.
* Create the root account properly.

svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
Eelco Dolstra
8f21b0119c * Get the CD to build again.
svn path=/nixos/trunk/; revision=7356
2006-12-16 18:24:49 +00:00
Eelco Dolstra
57663aae6b * Some basic udev rules: give the right permission to /dev/null etc.,
put input devices in /dev/input, and create a symlink /dev/cdrom for
  CD-ROM devices.

svn path=/nixos/trunk/; revision=7335
2006-12-13 14:24:33 +00:00
Eelco Dolstra
f29c93830e * "set" -> "env".
svn path=/nixos/trunk/; revision=7333
2006-12-13 13:09:20 +00:00
Eelco Dolstra
0eb46ca409 * Idem.
svn path=/nixos/trunk/; revision=7332
2006-12-13 12:21:37 +00:00
Eelco Dolstra
d663f88c65 * Use nix-env --set.
svn path=/nixos/trunk/; revision=7331
2006-12-13 12:21:06 +00:00
Eelco Dolstra
07627d8cdd * Move starting of udevd (and udevtrigger/settle) into an Upstart
job.

svn path=/nixos/trunk/; revision=7330
2006-12-13 12:17:38 +00:00
Eelco Dolstra
4b5b0d2c66 * Purify the sshd configuration file (don't put it in /etc/ssh).
svn path=/nixos/trunk/; revision=7320
2006-12-12 15:32:28 +00:00
Eelco Dolstra
482a6625a9 * Use the configuration in /etc/nixos/configuration.nix by default.
svn path=/nixos/trunk/; revision=7319
2006-12-12 00:08:26 +00:00
Eelco Dolstra
2d0f190f20 * More refactoring: renamed boot-environment.nix to system.nix (since
it does a lot more than just booting), and merged
  system-configuration.nix into system.nix.

svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00
Eelco Dolstra
74783a4510 * More refactoring; move some of the boot time options into the
options framework.

svn path=/nixos/trunk/; revision=7317
2006-12-11 16:10:23 +00:00
Eelco Dolstra
7573a88ca6 * More refactoring.
svn path=/nixos/trunk/; revision=7316
2006-12-11 15:47:30 +00:00
Eelco Dolstra
ce29e4efc7 * More refactoring.
svn path=/nixos/trunk/; revision=7314
2006-12-11 15:42:02 +00:00
Eelco Dolstra
16a9702c4a * Move some stuff out of boot-environment.nix.
svn path=/nixos/trunk/; revision=7313
2006-12-11 15:32:10 +00:00
Eelco Dolstra
970924e487 * Forgotten to add.
svn path=/nixos/trunk/; revision=7312
2006-12-11 14:16:03 +00:00
Eelco Dolstra
1561e2421d * Enable PAM in the SSH daemon.
svn path=/nixos/trunk/; revision=7311
2006-12-11 03:25:13 +00:00
Eelco Dolstra
efa9b1ba88 * Grmbl.
svn path=/nixos/trunk/; revision=7309
2006-12-11 03:03:42 +00:00
Eelco Dolstra
b80769d5ae * Hm, "set" doesn't seem to do the right thing.
svn path=/nixos/trunk/; revision=7308
2006-12-11 02:55:28 +00:00
Eelco Dolstra
85fc6aedf2 * Cleanup.
svn path=/nixos/trunk/; revision=7307
2006-12-11 02:52:23 +00:00
Eelco Dolstra
f327b072cb * Very basic PAM configuration. We now use Blowfish hashing for
/etc/shadow.

svn path=/nixos/trunk/; revision=7306
2006-12-11 02:44:26 +00:00