Commit Graph

893 Commits

Author SHA1 Message Date
Ludovic Courtès
3957962cf9 BitlBee: Run as bitlbee' instead of root'.
svn path=/nixos/trunk/; revision=11292
2008-03-26 16:42:57 +00:00
Ludovic Courtès
f9cbd6e640 avahi-daemon: Start on `network-interfaces/started'.
svn path=/nixos/trunk/; revision=11291
2008-03-26 16:41:31 +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
Tobias Hammerschmidt
6ce57e3117 use new ForkDaemon mode (introduced in bitlbee 1.2) instead of Daemon mode
svn path=/nixos/trunk/; revision=11284
2008-03-26 07:42:44 +00:00
Marc Weber
3b603a2281 synergyc ip last arg fix
svn path=/nixos/trunk/; revision=11280
2008-03-25 00:14:05 +00:00
Marc Weber
0fbd66414a enhanced error reporting missing config attr (new job proposal)
svn path=/nixos/trunk/; revision=11279
2008-03-25 00:06:58 +00:00
Michael Raskin
dc27e80fad Changes to support swsusp and custom kernels.
svn path=/nixos/trunk/; revision=11272
2008-03-24 19:37:32 +00:00
Michael Raskin
9ab654a6c4 Fix regexp to determine xserver and dbus correctly
svn path=/nixos/trunk/; revision=11265
2008-03-22 18:53:55 +00:00
Michael Raskin
060533c8a1 Fixes to OpenFire
svn path=/nixos/trunk/; revision=11264
2008-03-22 17:54:13 +00:00
Eelco Dolstra
3703cd13a2 * Quick hack to make HAL start properly.
svn path=/nixos/trunk/; revision=11262
2008-03-22 16:05:01 +00:00
Eelco Dolstra
d6e1828c13 * Speed up activating the configuration: don't do a find
on all of /etc, skip /etc/nixos.  (Actually, the NixOS/Nixpkgs
  sources probably shouldn't be stored in /etc...)

svn path=/nixos/trunk/; revision=11261
2008-03-22 16:04:38 +00:00
Eelco Dolstra
249fc3c135 * Fix weird "systemConfig=blabla" errors due to wrong parsing
of the resume= kernel parameter.

svn path=/nixos/trunk/; revision=11260
2008-03-22 16:03:43 +00:00
Eelco Dolstra
5d7f0e7967 * Suppress some errors if tuxonice isn't loaded.
svn path=/nixos/trunk/; revision=11259
2008-03-22 16:02:57 +00:00
Marc Weber
3afeae0c00 tightvnc service (there might still be some things to improve.. I can run it - has xfs check :)
svn path=/nixos/trunk/; revision=11243
2008-03-20 18:34:14 +00:00
Eelco Dolstra
047241dd5d * When restarting a job, *really* wait until the job has
stopped before starting it again.

svn path=/nixos/trunk/; revision=11232
2008-03-20 14:44:36 +00:00
Eelco Dolstra
2cc2831563 * Indentation.
svn path=/nixos/trunk/; revision=11231
2008-03-20 14:38:49 +00:00
Eelco Dolstra
e32a8437d5 svn path=/nixos/trunk/; revision=11203 2008-03-19 12:58:14 +00:00
Ludovic Courtès
79ffaeb2e7 activate-configuration: Look for setuid executables in the default profile.
svn path=/nixos/trunk/; revision=11202
2008-03-19 12:34:39 +00:00
Ludovic Courtès
3a973ab55c nixos-rebuild: Determine $NIXPKGS' from $NIXOS' by default.
svn path=/nixos/trunk/; revision=11200
2008-03-19 12:27:30 +00:00
Eelco Dolstra
473d75fc46 * Typo.
svn path=/nixos/trunk/; revision=11199
2008-03-19 12:21:09 +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
Eelco Dolstra
52aed402db * Moved to Nixpkgs.
svn path=/nixos/trunk/; revision=11155
2008-03-17 10:51:09 +00:00
Ludovic Courtès
6354623143 Add known setuid programs to the path' variable passed to activate-configuration'.
This is really a hack since programs not known to `system.nix' will not be in the path
of `activate-configuration', which consequently creates empty `.real' files under
`/var/setuid-wrappers'.  I don't know what the best way to address this is: let admins
write `.real' files by hand?  Add a `setuidPackages' attribute, listing the names of
packages that contain the binaries listed in `setuidPrograms'?

svn path=/nixos/trunk/; revision=11153
2008-03-17 10:31:40 +00:00
Ludovic Courtès
5568ef6e8d activate-configuration: Report it if a setuid program was not found.
svn path=/nixos/trunk/; revision=11152
2008-03-17 10:11:48 +00:00
Marc Weber
465a66ab3f renamed newProposal directory
added two example jobs

svn path=/nixos/trunk/; revision=11146
2008-03-16 15:52:52 +00:00
Marc Weber
e4757b33b1 removed trace lines, Thanks raskin
svn path=/nixos/trunk/; revision=11144
2008-03-16 11:03:03 +00:00
Marc Weber
40d9d62879 added mkOption extraConfig for httpd apache service
( added \n in config concatenation as well )
added serviceProposal, examples see upstart-jobs/newProposal/*.nix
  enhancement: everything belonging to one job is within the same file 
  (was: upstart-jobs/default.nix, options.nix and the job file)
  drawback: options won't be included within the manual 
            (can be fixed see comments in options.nix)
  comment: looking at the funtion newProposalJobs maybe it's overkill? 
           Hope it pays off if we start having dozens of small different services..


svn path=/nixos/trunk/; revision=11141
2008-03-16 01:05:40 +00:00
Ludovic Courtès
cf16b3acfe Add `portmap' job.
svn path=/nixos/trunk/; revision=11140
2008-03-15 23:40:44 +00:00
Ludovic Courtès
5229399617 setuid-wrapper: Disallow empty `.real' files.
svn path=/nixos/trunk/; revision=11122
2008-03-14 13:10:30 +00:00
Sander van der Burg
6c8bae53c1 Added PermitRootLogin option for sshd
svn path=/nixos/trunk/; revision=11121
2008-03-14 12:53:14 +00:00
Eelco Dolstra
95d41d5e27 * Allow the location of Nixpkgs to be specified through $NIXPKGS.
* $NIXOS_NO_PULL: changed to $NIXOS_PULL (which should be set to "0"
  to disable pulling).
* New variable $NIXOS_BUILD_NIX, which can be set to "0" to disable
  building nixUnstable from Nixpkgs.

svn path=/nixos/trunk/; revision=11096
2008-03-13 10:17:42 +00:00
Eelco Dolstra
8389cc378a * Hack: don't restart dbus automatically, it kills the X server.
Apparantly the cause was not the upgrade to DBus 1.1.20 but
  something else.

svn path=/nixos/trunk/; revision=11095
2008-03-13 10:15:12 +00:00
Sander van der Burg
5005c49e45 Added forgotten documentRoot variable
svn path=/nixos/trunk/; revision=11081
2008-03-12 12:21:12 +00:00
Eelco Dolstra
1b89e8a55b * Write a partial ordering of modules to $out/insmod-list (for when we
don't have modprobe in the initrd).

svn path=/nixos/trunk/; revision=11079
2008-03-12 12:16:32 +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
Michael Raskin
b615a392a2 Some updates to Live DVD building
svn path=/nixos/trunk/; revision=11044
2008-03-10 20:19:33 +00:00
Nicolas Pierron
58240dc30d Add the option xkbModel in the xserver.
svn path=/nixos/trunk/; revision=11041
2008-03-10 17:33:13 +00:00
Nicolas Pierron
5240c13bd2 * Enable halting and rebooting with slim. (type halt or reboot as login and the root password)
svn path=/nixos/trunk/; revision=11040
2008-03-10 17:27:37 +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
9650b0859e Fix `avahi-daemon' Upstart job.
svn path=/nixos/trunk/; revision=11002
2008-03-06 20:56:50 +00:00
Ludovic Courtès
43a4353c67 Add support for the Avahi daemon.
The daemon starts correctly but, for some reason, clients fail
to connect to it.

svn path=/nixos/trunk/; revision=10999
2008-03-06 17:11:22 +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
3cde6bd187 Add support for lshd (SSH2 daemon of GNU lsh).
svn path=/nixos/trunk/; revision=10969
2008-03-05 16:03:09 +00:00