Commit Graph

47 Commits

Author SHA1 Message Date
Eelco Dolstra
51078ac5b7 * Support special characters in config.nix.extraOptions.
svn path=/nixos/trunk/; revision=14278
2009-02-27 14:08:38 +00:00
Eelco Dolstra
f5b2ecdc13 * Make nix-channel and nix-env work when chroots are enabled.
svn path=/nixos/trunk/; revision=14271
2009-02-27 12:03:03 +00:00
Eelco Dolstra
67451c470b * Make sure that build-chroot-dirs only contains directories.
svn path=/nixos/trunk/; revision=13657
2008-12-19 10:22:45 +00:00
Eelco Dolstra
2f4b7d3e09 * Doh.
svn path=/nixos/trunk/; revision=13642
2008-12-16 00:16:35 +00:00
Eelco Dolstra
c155a3f46e * When doing chroot builds, the `build-chroot-dirs' option should
include the closure of /bin/sh.  Otherwise all builders that call
  /bin/sh will fail when using the new chroot implementation, which
  only bind-mounts the inputs of a build rather than the whole Nix
  store.

svn path=/nixos/trunk/; revision=13640
2008-12-15 23:54:10 +00:00
Ludovic Courtès
730244f13d lshd: Use `lsh-pam-checkpw' as the password helper program.
This finally allows users to log in using password authentication.

svn path=/nixos/trunk/; revision=13490
2008-11-28 15:44:15 +00:00
Eelco Dolstra
d1cf5f164e * CUPS needs a PAM configuration file to allow users to authenticate
via the web interface (e.g. when adding printers).

svn path=/nixos/trunk/; revision=13214
2008-11-07 11:51:17 +00:00
Eelco Dolstra
97f5a8eda7 * Mount /dev/pts in the chroot.
svn path=/nixos/trunk/; revision=13151
2008-10-29 15:42:44 +00:00
Eelco Dolstra
bdb29c0bcc * Don't need/want /etc anymore in the chroot.
svn path=/nixos/trunk/; revision=12734
2008-08-27 09:49:26 +00:00
Eelco Dolstra
5ec1fa2060 * Tabs considered harmful.
svn path=/nixos/trunk/; revision=12407
2008-07-23 14:13:27 +00:00
Eelco Dolstra
088b09f401 * Move most bash initialisation to /etc/bashrc. Now finally ssh
commands like "ssh -t host command" initialise the environment
  properly.

svn path=/nixos/trunk/; revision=12366
2008-07-16 16:01:09 +00:00
Eelco Dolstra
9b55a5c178 * Generation of /etc/fonts/fonts.conf: moved to Nixpkgs.
svn path=/nixos/trunk/; revision=12252
2008-07-03 14:35:02 +00:00
Eelco Dolstra
8c7859f7fb * Make kdesktop_lock work by providing a PAM configuration for KDE
and making kcheckpass setuid root.

svn path=/nixos/trunk/; revision=12166
2008-06-20 13:32:39 +00:00
Marc Weber
afed669a5a removed debug trace command
svn path=/nixos/trunk/; revision=12055
2008-06-12 12:19:47 +00:00
Marc Weber
216e3b73f4 added support for unixODBC in configuration.nix writing /etc/odbcinst.ini
svn path=/nixos/trunk/; revision=12045
2008-06-11 23:06:53 +00:00
Eelco Dolstra
f2598a9ca5 * In ssmtp, keep the From line if set explicitly in a mail.
svn path=/nixos/trunk/; revision=11706
2008-04-24 12:36:50 +00:00
Eelco Dolstra
3979844e22 * Purify syslog.conf (it doesn't have to be in /etc).
svn path=/nixos/trunk/; revision=11436
2008-04-01 12:50:47 +00:00
Ludovic Courtès
a0fc21eda3 Add `atd' Upstart job.
svn path=/nixos/trunk/; revision=11435
2008-04-01 10:16:35 +00:00
Ludovic Courtès
d1f29d328d Add support for `nss-mdns'.
Currently, the solution is a bit hackish since running applications
will not work after a `nixos-rebuild' because `libnss_mdns' is not
in their `LD_LIBRARY_PATH'.

svn path=/nixos/trunk/; revision=11162
2008-03-17 13:58:57 +00:00
Ludovic Courtès
7390b6e5bd Build /etc/rpc' from Glibc, used by rpcinfo(1)', for instance.
svn path=/nixos/trunk/; revision=11159
2008-03-17 12:33:21 +00:00
Sander van der Burg
9ffb0e8ec4 Added bashrc files to make dircolors/prompt working on xterm/konsole etc.
svn path=/nixos/trunk/; revision=11072
2008-03-12 10:18:11 +00:00
Ludovic Courtès
2b1a2d2415 Add PAM config file for `lsh-pam-checkpw'.
svn path=/nixos/trunk/; revision=10989
2008-03-06 14:49:06 +00:00
Ludovic Courtès
c0dc904b90 Add a PAM config file for lshd (doesn't seem to work, though).
svn path=/nixos/trunk/; revision=10988
2008-03-06 14:38:17 +00:00
Eelco Dolstra
f2b3ff2fce * PAM config for xlock.
svn path=/nixos/trunk/; revision=10987
2008-03-06 13:52:10 +00:00
Eelco Dolstra
18123c08ca * Refactoring.
svn path=/nixos/trunk/; revision=10671
2008-02-14 07:42:52 +00:00
Eelco Dolstra
622734b58b * Generate /etc/ssh/ssh_config, set ForwardX11 and XAuthLocation.
svn path=/nixos/trunk/; revision=10177
2008-01-16 13:59:03 +00:00
Eelco Dolstra
26e0f711a9 * Use the aggregator to combine the kernel modules tree with
externally-built modules so that (e.g.) "modprobe nvidia" Just
  Works.

svn path=/nixos/trunk/; revision=10129
2008-01-12 23:37:17 +00:00
Michael Raskin
5a29acf6a0 Added module aggregation, also changed non-root shell prompt colour to green
svn path=/nixos/trunk/; revision=10084
2008-01-06 18:45:13 +00:00
Eelco Dolstra
56107c81b0 * Put some help text in /etc/issue on the CD.
svn path=/nixos/trunk/; revision=10076
2008-01-04 17:05:48 +00:00
Eelco Dolstra
9dd7891820 * Options for configuring the (mail) domain.
svn path=/nixos/trunk/; revision=9785
2007-11-23 17:12:37 +00:00
Eelco Dolstra
f6fd10cbd8 * Support for system-wide distributed / multi-platform builds.
Just set nix.distributedBuilds to true and nix.buildMachines 
  to a list of machines that can perform Nix builds via SSH,
  and local builds will be forwarded appropriately.  So now
  any user can say something like

    nix-build /etc/nixos/nixpkgs/ --arg system '"powerpc-linux"' -A libxml2

  and the build for powerpc-linux will be forwarded to a machine 
  of that type.

svn path=/nixos/trunk/; revision=9696
2007-11-15 17:16:16 +00:00
Eelco Dolstra
2fc94b76fe * Eliminate all calls to config.get.
svn path=/nixos/trunk/; revision=9619
2007-11-09 18:49:45 +00:00
Eelco Dolstra
5bb4e343b4 * Configuration options networking.defaultMailServer to enable direct mail
delivery without a local mail server (via ssmtp).
* Add vimDiet to the CD, not the system path in general.

svn path=/nixos/trunk/; revision=9607
2007-11-08 18:15:12 +00:00
Eelco Dolstra
81c7e17e02 * An option nix.useChroot to enable chroot builds in NixOS.
svn path=/nixos/trunk/; revision=9583
2007-11-05 11:19:51 +00:00
Michael Raskin
b4be8e3b92 Added a way to add arbitrary entries in /etc/hosts .
svn path=/nixos/trunk/; revision=9528
2007-10-26 04:49:44 +00:00
Eelco Dolstra
6d65f0ae03 * Disable the check on sudoers (NIXOS-66).
svn path=/nixos/trunk/; revision=9438
2007-10-10 14:28:40 +00:00
Eelco Dolstra
073c0fec9f * Include the conf.d directory shipped in the fontconfig distribution.
* Don't use $fontconfig/var/cache/fontconfig as a cache (when running
  as root), instead use /var/cache/fontconfig.

svn path=/nixos/trunk/; revision=9411
2007-10-05 12:56:44 +00:00
Michael Raskin
39429f0441 A small correction.. Now linux-2.6.21.7 doesn't show up even in derivation dependedncies.
svn path=/nixos/trunk/; revision=9382
2007-09-28 11:14:39 +00:00
Michael Raskin
51626b0b66 Added checking of unkonwn options in configuration.nix and a system-wide font set changer.
svn path=/nixos/trunk/; revision=9370
2007-09-25 19:00:20 +00:00
Eelco Dolstra
2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
  default).  The contents of the sudoers file is specified in
  security.sudo.configFile.  The default sudoers file allows members
  of the new "wheel" group to run any command.

svn path=/nixos/trunk/; revision=9138
2007-08-16 15:09:06 +00:00
Michael Raskin
bf1033d2cb Added Gateway6 upstart-job and options for it. Sudo configuration for PAM
is added (it is needed anyway), but still only NOPASSWD entries work.

svn path=/nixos/trunk/; revision=8966
2007-07-09 11:21:04 +00:00
Eelco Dolstra
1f1db4c48f * Use pam_console to change the ownership of various devices (sound,
CD-ROM drive, etc.) to the logged in user.  Woohoo!  Finally, no
  more chown /dev/snd/*.
* Get rid of spurious error messages about pam_ldap when we're not
  using LDAP.

svn path=/nixos/trunk/; revision=8861
2007-06-10 20:02:07 +00:00
Eelco Dolstra
f8ac666090 * PAM config for SLiM.
* Go back to using blowfish as the default password hash,
  now that SLiM supports it through PAM.

svn path=/nixos/trunk/; revision=8830
2007-06-05 11:28:18 +00:00
Eelco Dolstra
6d65da8168 * Added /etc/inputrc. TODO: it's more functional to use the
INPUTRC environment variable for this.

svn path=/nixos/trunk/; revision=8637
2007-05-02 09:55:35 +00:00
Eelco Dolstra
128e40a98c * Wrong file name.
svn path=/nixos/trunk/; revision=8555
2007-04-10 14:10:45 +00:00
Eelco Dolstra
464d252d55 * Set the LANG environment variable (default is en_US.UTF-8,
can be overriden through the system configuration).

svn path=/nixos/trunk/; revision=8541
2007-04-04 13:47:54 +00:00
Eelco Dolstra
f10a95e88e * Refactoring: move stuff around.
svn path=/nixos/trunk/; revision=8506
2007-03-30 12:59:43 +00:00