Commit Graph

84 Commits

Author SHA1 Message Date
Michael Raskin
49bd768f99 As we do not really generate ejabbred.cfg, allow at least overwriting it manually
svn path=/nixos/trunk/; revision=15006
2009-04-13 09:35:03 +00:00
Eelco Dolstra
d5e97ab056 * Let KDEDIRS, XDG_CONFIG_DIRS and XDG_DATA_DIRS contain the KDE
packages that we need rather than just /var/run/current-system/sw.
  This ensures consistency when upgrading a system (e.g. you don't end
  up with a mix of KDE versions at runtime).  This partially reverts
  r14148 (in particular the update-mime-database hack in the
  systemPath post-build).

svn path=/nixos/trunk/; revision=14887
2009-04-05 18:30:39 +00:00
Wouter den Breejen
40f38560d4 Allow samba to use PAM (needs cleartext passwords for now)
svn path=/nixos/trunk/; revision=14768
2009-03-29 21:43:40 +00:00
Lluís Batlle i Rossell
72bb6b30b3 Adding the ftp pam service, for vsftpd.
svn path=/nixos/trunk/; revision=14287
2009-02-28 20:01:56 +00:00
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
311ff6c8e7 * Set KDEDIRS, XDG_CONFIG_DIRS and XDG_DATA_DIRS in bashrc. This has
the advantage that KDE applications work when logging in via ssh,
  and that you don't need to logout to have KDE upgrades take effect.
  On the downside, since the various KDE packages and shared-mime-info
  all have their own MIME databases, if we put them in one symlink
  tree (systemPath), we need to rerun update-mime-database on the
  symlink tree.  Also, systemPath is getting very large.

svn path=/nixos/trunk/; revision=14148
2009-02-20 16:31:42 +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
Ludovic Courtès
d7c321c64a bashrc: Initialize `GST_PLUGIN_PATH' (GStreamer's plug-in search path).
svn path=/nixos/trunk/; revision=13254
2008-11-11 17:08:04 +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
1ad5997776 * Set $PERL5LIB.
svn path=/nixos/trunk/; revision=13148
2008-10-29 13:41:32 +00:00
Ludovic Courtès
f7770a6b63 In bashrc', don't add non-existent directories to ACLOCAL_PATH'.
svn path=/nixos/trunk/; revision=13033
2008-10-09 19:58:11 +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
3e8be34fcc * Set $NIX_OTHER_STORES to /var/run/nix/remote-stores to make
automatic copying of build results from remote Nix stores work
  more-or-less automatically.  All you have to do is mount the remote
  FS on a subdirectory of /var/run/nix/remote-stores, e.g.

    $ sshfs remote_machine:/ /var/run/nix/remote-stores/foo

* Set $NIXPKGS_ALL.

svn path=/nixos/trunk/; revision=12411
2008-07-23 16:06:03 +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
Ludovic Courtès
48ec05d257 Fix typo in /etc/profile' that led to a wrong LD_LIBRARY_PATH'.
svn path=/nixos/trunk/; revision=12332
2008-07-10 13:45:12 +00:00
Wouter den Breejen
ab41596a7f Added option boot.extraGrubEntriesBeforeNixos=true/false to boot by default into nixos-default or into your extraGrubEntries
svn path=/nixos/trunk/; revision=12263
2008-07-05 00:16:39 +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
df241fd6ed * Don't include /var/run/current-system/sw/lib in the LD_LIBRARY_PATH
by default since this can really make the functioning of
  applications unpredictable as they can pick up arbitrary
  library versions from that directory.  LD_LIBRARY_PATH should only
  contain very specific paths (like /var/run/opengl-driver/lib for
  overriding the system OpenGL implementation, or the NSS module
  path).  This is even more important given that the stdenv-updates
  branch uses RUNPATHs instead of RPATHs, so *all* libraries are
  overridable by LD_LIBRARY_PATH.

svn path=/nixos/trunk/; revision=11967
2008-06-04 09:11:47 +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
036e00a16d * Don't add nssModulePath when it's empty, because then we get
an empty element in the LD_LIBRARY_PATH, which means search
  for libraries in the current directory.

svn path=/nixos/trunk/; revision=11545
2008-04-10 12:14:15 +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
1a75f0a5a8 Add nssModules' to systemPathsList', add /lib' to systemPath', and
add `/var/run/current-system/sw/lib' to `LD_LIBRARY_PATH'.  This should allow
NSS modules to be added and taken into account by applications without
the need to reboot.

svn path=/nixos/trunk/; revision=11290
2008-03-26 16:23:52 +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
1e5f26537d Fixed PS1 to show a # for the root-user
svn path=/nixos/trunk/; revision=11077
2008-03-12 11:18:43 +00:00
Sander van der Burg
7c93a71468 Added bashrc files to make dircolors/prompt working on xterm/konsole etc.
svn path=/nixos/trunk/; revision=11073
2008-03-12 10:18:26 +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
37eaa53007 Add handy rpcgen' alias in /etc/profile'.
svn path=/nixos/trunk/; revision=11013
2008-03-07 13:06:40 +00:00
Ludovic Courtès
ad1b5aca82 Set $ACLOCAL_PATH' in /etc/profile'.
This variable is not honored by `aclocal' itself but by the wrapper that's
installed for `aclocal' by the `automake' package.

svn path=/nixos/trunk/; revision=10990
2008-03-06 14:56:10 +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
Ludovic Courtès
89f86847f6 Setup $PKG_CONFIG_PATH' in /etc/profile'.
svn path=/nixos/trunk/; revision=10971
2008-03-05 19:26:15 +00:00
Ludovic Courtès
b81baa3e9a Revert `$EMACSLOADPATH' trick: it doesn't work because the value
of `$EMACSLOADPATH' overrides Emacs's default `load-path', which
contains useful directories like `$EMACS/share/emacs/22.1/lisp',
etc.

svn path=/nixos/trunk/; revision=10792
2008-02-20 22:58:50 +00:00
Ludovic Courtès
724ff442ba Export `$EMACSLOADPATH'.
svn path=/nixos/trunk/; revision=10768
2008-02-20 10:35:49 +00:00
Ludovic Courtès
33f34e2092 Don't define ASPELL_EXTRA_DICT_DIRS', use ASPELL_CONF' instead.
svn path=/nixos/trunk/; revision=10673
2008-02-14 09:41:34 +00:00
Eelco Dolstra
18123c08ca * Refactoring.
svn path=/nixos/trunk/; revision=10671
2008-02-14 07:42:52 +00:00
Eelco Dolstra
1f81bcae40 svn path=/nixos/trunk/; revision=10548 2008-02-07 14:39:32 +00:00
Eelco Dolstra
0d50031a0a * Periodically update the locate database from cron when
config.services.locate.enable is set.

svn path=/nixos/trunk/; revision=10448
2008-02-01 12:35:51 +00:00
Eelco Dolstra
9fd5d70968 * The CD is now a true live CD: you can run Nix operations in it
thanks to unionfs.  For instance, nix-env and nixos-rebuild work.
  The tricky part was to build a Nix database (in the tmpfs/unionfs)
  which is now necessary to prevent store paths on the CD from being
  deleted right away because they otherwise wouldn't be valid.
  
* nixos-install: use the /etc/nixos/configuration.nix from the target
  file system (don't copy it anymore).  Since the user is supposed to
  mount the target file system on /mnt anyway, we may as well require
  that configuration.nix is placed in /mnt/etc/nixos.  This also makes
  upgrading / reinstalling much easier, since it will automatically
  use the right configuration.nix.

svn path=/nixos/trunk/; revision=10399
2008-01-30 01:28:56 +00:00