Commit Graph

436 Commits

Author SHA1 Message Date
Eelco Dolstra
b0b776c04a * Add support for USB keyboards in stage 1.
svn path=/nixos/trunk/; revision=7811
2007-01-30 12:49:18 +00:00
Eelco Dolstra
b01ef92437 * Use pam_env to set the PATH for SSH logins. This allows
non-interactive ssh sessions (such as "ssh host command") to work
  properly.  This should probably be used for other kinds of logins as
  well.

svn path=/nixos/trunk/; revision=7799
2007-01-26 15:32:49 +00:00
Eelco Dolstra
a1f512ede3 * Another example: NixOS on x86_64 on a USB stick.
svn path=/nixos/trunk/; revision=7787
2007-01-24 11:50:38 +00:00
Eelco Dolstra
0685f24957 svn path=/nixos/trunk/; revision=7786 2007-01-23 20:09:06 +00:00
Eelco Dolstra
241b28d101 * Register everything in the Nix store on the installation CD as a
substitute to speed up installation.

svn path=/nixos/trunk/; revision=7783
2007-01-23 17:17:10 +00:00
Eelco Dolstra
c56d3a8ce4 * Actually put the manifest on the CD.
svn path=/nixos/trunk/; revision=7780
2007-01-23 16:48:27 +00:00
Eelco Dolstra
995b749f70 * Put a nix-pull manifest of the Nix store on the CD.
svn path=/nixos/trunk/; revision=7777
2007-01-23 15:08:00 +00:00
Eelco Dolstra
d883483a0e * Use paths-from-graph.pl.
svn path=/nixos/trunk/; revision=7776
2007-01-23 15:07:30 +00:00
Eelco Dolstra
2554337f82 * Put the closure of stdenv on the CD to speed up the installation.
svn path=/nixos/trunk/; revision=7775
2007-01-23 14:38:15 +00:00
Eelco Dolstra
d197a0f2cc * Use the Perl version of paths-from-graphs everywhere.
svn path=/nixos/trunk/; revision=7774
2007-01-23 14:37:42 +00:00
Eelco Dolstra
903a64c87d * Some things are best done in Perl.
svn path=/nixos/trunk/; revision=7773
2007-01-23 14:34:44 +00:00
Eelco Dolstra
668c146e33 * Doh! Make sure that we put *only* splash_helper in the initrd and
not all of splashutils, otherwise we get Glibc in the initrd.

svn path=/nixos/trunk/; revision=7771
2007-01-23 13:44:41 +00:00
Eelco Dolstra
a7d81141be * Prettyprint the option defaults and examples.
svn path=/nixos/trunk/; revision=7768
2007-01-23 11:39:02 +00:00
Eelco Dolstra
e3c5b9e752 svn path=/nixos/trunk/; revision=7767 2007-01-23 11:18:23 +00:00
Eelco Dolstra
d674ec1223 * Add a top-level book.
* Copy the stylesheet from the Nix manual.  We should really put this
  somewhere central.

svn path=/nixos/trunk/; revision=7766
2007-01-23 11:11:58 +00:00
Eelco Dolstra
8e0f2fd7c6 * Properly render DocBook in option descriptions.
svn path=/nixos/trunk/; revision=7765
2007-01-23 11:06:31 +00:00
Eelco Dolstra
3034daabb7 * Generate DocBook documentation on the available options from the Nix
expression.

svn path=/nixos/trunk/; revision=7764
2007-01-23 10:52:51 +00:00
Eelco Dolstra
5d883cbb85 * Flush the nscd hosts table after we've acquired an DHCP lease to
prevent problems with negative caching (NIXOS-45).

svn path=/nixos/trunk/; revision=7763
2007-01-23 10:22:00 +00:00
Eelco Dolstra
836789a8a6 * pkgs doesn't have a system attribute.
svn path=/nixos/trunk/; revision=7760
2007-01-23 09:41:19 +00:00
Eelco Dolstra
c5326d8f00 * Don't use gensplash on x86_64 since it doesn't build and I'm too
lazy to fix it right now.

svn path=/nixos/trunk/; revision=7759
2007-01-22 22:22:37 +00:00
Eelco Dolstra
cdb98f8418 * Option to disable the splash screen in the initrd.
svn path=/nixos/trunk/; revision=7755
2007-01-22 18:58:04 +00:00
Eelco Dolstra
340ff5200a * Add a newline after each <dir>.
svn path=/nixos/trunk/; revision=7753
2007-01-22 17:17:53 +00:00
Eelco Dolstra
9c3a069326 * Add .../share/fonts to the font search path.
svn path=/nixos/trunk/; revision=7752
2007-01-22 17:17:43 +00:00
Eelco Dolstra
327cb83cf2 * Make it possible to turn off the generation of fonts.conf. This is
important for the installation CD, where we don't want a dependency
  on all those fonts.  Of course, it's quite nice that turning off the
  generation of a file automatically removes the dependencies on the
  files referenced by that file.

svn path=/nixos/trunk/; revision=7750
2007-01-22 16:42:29 +00:00
Eelco Dolstra
6cb01a0b22 * Use a small XSLT script that copies the original fonts.conf from the
fontconfig distribution, but replaces all <dir> entries with the
  directories specified in the $fontDirectories parameter.  This way
  we get all the font mapping rules from the original fonts.conf
  (e.g., aliases like "serif") and some other nice things.

svn path=/nixos/trunk/; revision=7749
2007-01-22 16:29:05 +00:00
Eelco Dolstra
eddd3a7e11 * Provide a few fonts in a purely functional way, i.e., as part of the
system configuration. 

svn path=/nixos/trunk/; revision=7748
2007-01-22 16:05:37 +00:00
Eelco Dolstra
6db2c1814e * Generate the list of fonts in a Nix expression.
svn path=/nixos/trunk/; revision=7744
2007-01-22 15:00:18 +00:00
Eelco Dolstra
ec3d2510c5 * Quick hack to enable fontconfig to find fonts. We look in the
default profile, in the user's profile, and in ~/.fonts.

svn path=/nixos/trunk/; revision=7709
2007-01-17 17:44:57 +00:00
Eelco Dolstra
b53d7f2c61 * Create install-source.nix.
svn path=/nixos/trunk/; revision=7707
2007-01-17 14:36:24 +00:00
Eelco Dolstra
02d3541a8b * Allow the time zone to be configured.
svn path=/nixos/trunk/; revision=7706
2007-01-17 12:33:23 +00:00
Eelco Dolstra
afd36a88eb * Assume by default that the NixOS sources are in /etc/nixos.
svn path=/nixos/trunk/; revision=7705
2007-01-17 12:06:26 +00:00
Eelco Dolstra
cf9016d816 * Mount devpts.
* Set the right permissions on /dev/tty and /dev/ptmx.

svn path=/nixos/trunk/; revision=7703
2007-01-16 22:34:15 +00:00
Eelco Dolstra
55e7f8f5dc * Use pam_xauth in su to pass the X cookies.
svn path=/nixos/trunk/; revision=7702
2007-01-16 22:25:28 +00:00
Eelco Dolstra
9866132d81 * Generate the LDAP configuration automatically.
svn path=/nixos/trunk/; revision=7698
2007-01-16 16:09:43 +00:00
Eelco Dolstra
07506308d6 * Support LDAP authentication.
* Factor out the common parts of the PAM config files.

svn path=/nixos/trunk/; revision=7694
2007-01-16 13:30:59 +00:00
Eelco Dolstra
554ae9908b * Some slightly hacky LDAP support. The problem is that Glibc has to
be able to find the LDAP NSS module, which is normally installed in
  Glibc's prefix (under /lib/libnss_ldap...).  Of course, we can't do
  that; it wouldn't be pure.  As a workaround, we simply add nss_ldap
  to the LD_LIBRARY_PATH of the nscd daemon, which every other program
  uses for lookups.  So we don't have to put nss_ldap in the
  LD_LIBRARY_PATH of every program.

svn path=/nixos/trunk/; revision=7684
2007-01-15 17:19:41 +00:00
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