Commit graph

400 commits

Author SHA1 Message Date
Eelco Dolstra
af19b39a4b * Create wtmp, lastlog.
svn path=/nixos/trunk/; revision=7683
2007-01-15 17:16:49 +00:00
Eelco Dolstra
045d9fdc88 * Use /etc/profile into a separate file.
* Automatically set up a per-user profile in
  /nix/var/nix/profiles/per-user/$USER.
* Initialise ~/.nix-defexpr and ~/.nix-profile.

svn path=/nixos/trunk/; revision=7680
2007-01-15 14:43:56 +00:00
Eelco Dolstra
ee55c0048b * Fix filterSource calls.
svn path=/nixos/trunk/; revision=7669
2007-01-15 09:20:34 +00:00
Eelco Dolstra
d62029bc68 * Set ACLOCAL_PATH.
svn path=/nixos/trunk/; revision=7661
2007-01-14 16:15:51 +00:00
Eelco Dolstra
9963b263d3 * NSCD daemon.
svn path=/nixos/trunk/; revision=7645
2007-01-11 23:55:25 +00:00
Eelco Dolstra
5acc5f6e28 * Finally.
svn path=/nixos/trunk/; revision=7639
2007-01-11 16:53:44 +00:00
Eelco Dolstra
ebf72223a4 * Ugh.
svn path=/nixos/trunk/; revision=7638
2007-01-11 16:50:42 +00:00
Eelco Dolstra
e1b9efddcb * Slurp in ~/.bashrc from /etc/profile (just like SUSE).
* Set a nice prompt.

svn path=/nixos/trunk/; revision=7637
2007-01-11 16:42:18 +00:00
Eelco Dolstra
580f98f1ed * Make the set of setuid programs configurable.
* Make crontab setuid.

svn path=/nixos/trunk/; revision=7636
2007-01-11 16:29:23 +00:00
Eelco Dolstra
6b364875f9 * Enable setuid su.
svn path=/nixos/trunk/; revision=7634
2007-01-11 15:32:48 +00:00
Eelco Dolstra
daa8ecfe7a * Activate software RAID arrays.
svn path=/nixos/trunk/; revision=7631
2007-01-11 00:40:28 +00:00
Eelco Dolstra
66d4c6c4e2 * Ignore remount read-only errors.
svn path=/nixos/trunk/; revision=7630
2007-01-11 00:40:08 +00:00
Eelco Dolstra
c7c16f384a * Fixed some installer bugs.
svn path=/nixos/trunk/; revision=7629
2007-01-11 00:06:46 +00:00
Eelco Dolstra
158c303e2f * Enable SFTP support in sshd.
svn path=/nixos/trunk/; revision=7622
2007-01-10 17:19:17 +00:00
Eelco Dolstra
866d87c60b * Start the cron daemon.
svn path=/nixos/trunk/; revision=7621
2007-01-10 17:09:00 +00:00
Eelco Dolstra
5b993b4ff5 * Quick hack to prevent the system from hanging in halt/reboot: force
NFS unmounts.  We have to do this because networking is already down
  by the time we get to the unmounting.  It would be better to unmount
  all remote file systems when an ip-down event occurs.

svn path=/nixos/trunk/; revision=7620
2007-01-10 17:08:34 +00:00
Eelco Dolstra
99b24cf4d1 * Mount file systems when an ip-up event occurs (e.g., for NFS mounts).
svn path=/nixos/trunk/; revision=7619
2007-01-10 17:07:21 +00:00
Eelco Dolstra
a7644b8855 * Support NFS mounts.
svn path=/nixos/trunk/; revision=7615
2007-01-10 14:34:31 +00:00
Eelco Dolstra
774a0a397c * Allow the root device to be specified by label.
svn path=/nixos/trunk/; revision=7612
2007-01-10 14:07:10 +00:00
Eelco Dolstra
7ba1682c05 * In fileSystems: say label = "FOO"' instead of device = "LABEL=foo"'.
svn path=/nixos/trunk/; revision=7611
2007-01-10 13:58:48 +00:00
Eelco Dolstra
24e34612e3 * Allow swap devices to be specified by label.
svn path=/nixos/trunk/; revision=7609
2007-01-10 13:07:57 +00:00
Eelco Dolstra
cb10364838 * Use a diet udev in boot stage 1 to create the device nodes in /dev.
svn path=/nixos/trunk/; revision=7608
2007-01-10 12:42:28 +00:00
Eelco Dolstra
95ee289c9f * Some hacking info.
svn path=/nixos/trunk/; revision=7607
2007-01-10 12:29:10 +00:00
Eelco Dolstra
fd4c1a2c43 * The user should mount the target file system.
svn path=/nixos/trunk/; revision=7598
2007-01-09 23:12:41 +00:00
Eelco Dolstra
efefd93551 * Create /etc/nixos if it doesn't exist.
svn path=/nixos/trunk/; revision=7597
2007-01-09 21:28:08 +00:00
Eelco Dolstra
5b5b6f9f63 * Use a shell in the closure we just copied to the target.
svn path=/nixos/trunk/; revision=7596
2007-01-09 21:25:53 +00:00
Eelco Dolstra
37ab8be36f * Doh.
svn path=/nixos/trunk/; revision=7595
2007-01-09 21:19:53 +00:00
Eelco Dolstra
cbe4c2e0b8 * Installer: pull the manifest properly.
svn path=/nixos/trunk/; revision=7594
2007-01-09 21:19:06 +00:00
Eelco Dolstra
d4183887a8 * Add man to the initial path.
svn path=/nixos/trunk/; revision=7591
2007-01-09 17:27:26 +00:00
Eelco Dolstra
60e4da4a9b * Hacked up support for volume labels.
svn path=/nixos/trunk/; revision=7587
2007-01-09 16:29:27 +00:00
Eelco Dolstra
c9c5e920c9 * Info on updating NixOS.
svn path=/nixos/trunk/; revision=7586
2007-01-09 14:57:06 +00:00
Eelco Dolstra
1bcf53d58f * Script to check out NixOS.
svn path=/nixos/trunk/; revision=7585
2007-01-09 14:26:01 +00:00
Eelco Dolstra
fb2d9f8347 * Race condition: splash_util fails if the virtual console doesn't
exist yet (e.g., because mingetty hasn't started yet), so make sure
  it exists.

svn path=/nixos/trunk/; revision=7584
2007-01-09 13:56:54 +00:00
Eelco Dolstra
47761d0bd0 * Make some more SCSI device nodes. Quick hack to get NixOS running
on itchy.  We really should run udevd in boot stage 1.

svn path=/nixos/trunk/; revision=7583
2007-01-09 13:15:13 +00:00
Eelco Dolstra
835bb2b880 * Use the latest Nixpkgs.
svn path=/nixos/trunk/; revision=7582
2007-01-09 12:12:06 +00:00
Eelco Dolstra
2d20b19e5b * Don't get stuck in an infinite unmount loop on shutdown.
svn path=/nixos/trunk/; revision=7580
2007-01-09 09:52:16 +00:00
Eelco Dolstra
c4df455e81 * Allow the user to do something useful on tty8 while waiting for the
installation to finish.

svn path=/nixos/trunk/; revision=7578
2007-01-08 23:10:29 +00:00
Eelco Dolstra
2148123b9c * Merge splash-themes.nix into the regular options infrastructure.
svn path=/nixos/trunk/; revision=7576
2007-01-08 22:41:41 +00:00
Eelco Dolstra
56da3e7887 * Allow any login program to be specified.
svn path=/nixos/trunk/; revision=7575
2007-01-08 21:34:30 +00:00
Eelco Dolstra
873a8de2ad * Don't emit ctrl-alt-delete.
svn path=/nixos/trunk/; revision=7574
2007-01-08 21:25:06 +00:00
Eelco Dolstra
b7f11ad98b * Generate sshd_config to set XAuthLocation if X11 forwarding is
enabled.

svn path=/nixos/trunk/; revision=7548
2007-01-07 10:19:16 +00:00
Eelco Dolstra
1a592f3a4e * hda is called sda now.
svn path=/nixos/trunk/; revision=7535
2007-01-05 00:28:48 +00:00
Eelco Dolstra
966f6e0fb0 * More refactoring.
svn path=/nixos/trunk/; revision=7534
2007-01-04 10:31:36 +00:00
Eelco Dolstra
b6b5bafa22 * Refactoring.
svn path=/nixos/trunk/; revision=7533
2007-01-04 10:29:40 +00:00
Eelco Dolstra
acacfda1b2 * Remove references to stdenvNew.
svn path=/nixos/trunk/; revision=7532
2007-01-04 10:21:25 +00:00
Armijn Hemel
231b469188 use mkfs.ext2 for making filesystems, not e2fsck
svn path=/nixos/trunk/; revision=7480
2006-12-25 19:55:40 +00:00
Eelco Dolstra
936fa69912 * Doh.
svn path=/nixos/trunk/; revision=7479
2006-12-25 19:32:31 +00:00
Eelco Dolstra
162181ffba * LVM support (in stage 2; having / on LVM is not yet supported). LVM
triggers a new-devices event so that the filesystems job mounts file
  systems on the logical volumes.

svn path=/nixos/trunk/; revision=7478
2006-12-24 01:07:28 +00:00
Eelco Dolstra
cb4e81d38f * Handle devices that are symlinks.
svn path=/nixos/trunk/; revision=7477
2006-12-24 00:54:52 +00:00
Eelco Dolstra
bed8b44dc8 * We do need some devices in /dev when not auto-detecting the root
device.

svn path=/nixos/trunk/; revision=7476
2006-12-23 23:38:34 +00:00