Peter Simons
d7c4900420
syslogd: extended configuration options
...
This commit adds the option 'services.syslogd.defaultConfig', which is
the main syslog.conf file used by the daemon. Like before, That file can
be extended by means of 'services.syslogd.extraConfig'. Users who want a
completely different configuration, however, can re-define defaultConfig
to their liking.
Furthermore, the option services.syslogd.tty' is now optional: setting
its value to the empty string "" disables logging to TTY altogether.
svn path=/nixos/trunk/; revision=27769
2011-07-13 18:24:53 +00:00
Peter Simons
fb1b0c0372
modules/services/monitoring/smartd.nix: added support for running smart daemon
...
Set "services.smartd.enable = true" to enable the service.
svn path=/nixos/trunk/; revision=27767
2011-07-13 17:47:34 +00:00
Peter Simons
e056880dc4
base.nix: strip trailing whitespace
...
svn path=/nixos/trunk/; revision=27755
2011-07-13 12:18:25 +00:00
Peter Simons
0c68a3440a
modules/profiles/base.nix: add 'pkgs.sshfsFuse'
...
The sshfsFuse package -- which is part of the system profile already -- doesn't
work without fuse. It tries to run /var/setuid-wrappers/fusermount, which then
can't find fusermount. Adding fuse to the system profile remedies this problem.
svn path=/nixos/trunk/; revision=27754
2011-07-13 12:18:23 +00:00
Eelco Dolstra
c548597976
* Allow Git to find the CA bundle.
...
svn path=/nixos/trunk/; revision=27735
2011-07-12 12:45:48 +00:00
Peter Simons
0ffb794d5d
modules/services/networking/ssh/sshd.nix: strip trailing whitespace
...
svn path=/nixos/trunk/; revision=27733
2011-07-12 10:34:30 +00:00
Peter Simons
ea84edd528
modules/services/networking/ssh/sshd.nix: added new boolean options usePAM and passwordAuthentication
...
Setting both of these options to 'false' configures the OpenSSH daemon to
reject password authentication, i.e. users must have an appropriate key in
~/.ssh/authorized_keys in order to be able to log in.
svn path=/nixos/trunk/; revision=27732
2011-07-12 10:34:27 +00:00
Eelco Dolstra
6857a28f0e
* Postfix needs TZ to be set, otherwise the generated headers are
...
wrong (reported by Peter Simons).
svn path=/nixos/trunk/; revision=27639
2011-07-07 19:18:40 +00:00
Eelco Dolstra
466d798b15
* Oops.
...
svn path=/nixos/trunk/; revision=27608
2011-07-05 12:54:50 +00:00
Eelco Dolstra
3bc3dc3940
* Put the NixOS firewall ruleset in its own chain (‘nixos-fw’). This
...
should make it easier to compose with packages that set their own
firewall rules, such as Nova or Libvirt.
* Provide a chain for accepted packets (‘nixos-fw-accept’), requested
by Nicolas Pierron.
svn path=/nixos/trunk/; revision=27607
2011-07-05 12:51:46 +00:00
Eelco Dolstra
1d09ad240a
* Don't set defaultSkin to "default" because that's a horrible skin
...
(does it even exist?). Use "" instead (which is really "monobook").
svn path=/nixos/trunk/; revision=27604
2011-07-04 15:51:38 +00:00
Eelco Dolstra
bf00977ce1
* Add an option ‘services.postgresql.extraConfig’.
...
svn path=/nixos/trunk/; revision=27550
2011-06-27 10:15:26 +00:00
Eelco Dolstra
010a2a7555
* Support creating non-system user accounts.
...
svn path=/nixos/trunk/; revision=27545
2011-06-27 08:50:30 +00:00
Sander van der Burg
ab70d480ab
The machines in the network should be accessed by the node function parameter
...
svn path=/nixos/trunk/; revision=27538
2011-06-24 12:35:58 +00:00
Joachim Schiele
1ea24769a0
added support for two custom themes and also wrote a nice looking nixos theme
...
svn path=/nixos/trunk/; revision=27535
2011-06-23 20:56:37 +00:00
Eelco Dolstra
c41b01ea23
* Canonicalize boot.loader.grub.device before calling grub-install to
...
ensure that values such as /dev/disk/by-id/ata-WDC... work.
svn path=/nixos/trunk/; revision=27519
2011-06-22 18:22:58 +00:00
Eelco Dolstra
a2ad688a63
* Handle the case where networking.hostName is empty.
...
svn path=/nixos/trunk/; revision=27510
2011-06-21 10:46:21 +00:00
Eelco Dolstra
59355bafe5
* Initialise bridges before doing the configuration specified in
...
networking.interfaces and networking.localCommands.
svn path=/nixos/trunk/; revision=27505
2011-06-20 18:12:47 +00:00
Eelco Dolstra
3cb5ea79bd
* Add an option virtualisation.nova.extraConfig.
...
svn path=/nixos/trunk/; revision=27504
2011-06-20 14:27:06 +00:00
Eelco Dolstra
545431003b
* Create some virtual consoles in Nova VMs because it provides VNC
...
access.
svn path=/nixos/trunk/; revision=27483
2011-06-16 14:15:37 +00:00
Eelco Dolstra
e25843d01c
* Add an option to distinguish between EC2 and Nova targets.
...
svn path=/nixos/trunk/; revision=27482
2011-06-16 14:14:50 +00:00
Eelco Dolstra
6719446d4b
* Some hackery to get foomatic-filters to work.
...
svn path=/nixos/trunk/; revision=27471
2011-06-15 12:41:15 +00:00
Eelco Dolstra
e9a567f8d2
* Update the Nova module for the Cactus release.
...
svn path=/nixos/trunk/; revision=27410
2011-06-09 17:11:56 +00:00
Eelco Dolstra
c2a3aa8e79
* Open UDP port 631 in the firewall to allow CUPS to discover
...
printers on the network.
svn path=/nixos/trunk/; revision=27399
2011-06-08 15:55:51 +00:00
Evgeny Egorochkin
c734389e90
Virtuoso: add parameters section to config
...
svn path=/nixos/trunk/; revision=27342
2011-06-04 10:53:07 +00:00
Evgeny Egorochkin
733917db0f
Virtuoso: add dirsAllowed option, minor cleanup
...
svn path=/nixos/trunk/; revision=27336
2011-05-31 14:56:56 +00:00
Evgeny Egorochkin
b65a4840b8
Make virtuoso drop root privileges
...
svn path=/nixos/trunk/; revision=27334
2011-05-31 09:56:55 +00:00
Evgeny Egorochkin
14859264a9
Virtuoso database service: packaged
...
svn path=/nixos/trunk/; revision=27332
2011-05-31 07:44:17 +00:00
Michael Raskin
be85cdacfd
Fix space-containing name processing
...
svn path=/nixos/trunk/; revision=27313
2011-05-28 20:08:49 +00:00
Michael Raskin
25bb8b3d55
Link TrueType/OpenType fonts to all-fonts directory, too
...
svn path=/nixos/trunk/; revision=27312
2011-05-28 19:58:43 +00:00
Eelco Dolstra
4984fa1ee6
* Fix the Nixpkgs mirror script (it didn't have the necessary
...
modules in the Perl search path).
svn path=/nixos/trunk/; revision=27261
2011-05-16 07:46:31 +00:00
Eelco Dolstra
95dc49a89d
* Add an option ‘deployment.ec2.keyPair’.
...
svn path=/nixos/trunk/; revision=27238
2011-05-12 15:30:56 +00:00
Eelco Dolstra
862fe5ad78
* Generate a nova.conf file.
...
* Provide a configuration.nix in Nova images.
svn path=/nixos/trunk/; revision=27224
2011-05-11 13:52:49 +00:00
Eelco Dolstra
7579933824
* Don't mount /dev/cgroup with the "ns" subsystem. If it's mounted,
...
then every unshare(CLONE_NEWNS) system call causes a new entry to be
created in /dev/cgroup/<pid>, which is not removed automatically.
This can cause subsequent calls to unshare() to fail if the PID has
wrapped around. Worse, a large number of entries in /dev/cgroup
causes a very substantial system slowdown: doing 10,000
fork()/unshare(CLONE_NEWNS)/exit() calls took 21s without the "ns"
subsystem, but 2m43s with it, and the system slows down permanently
until the entries in /dev/cgroup are removed (going to a load of > 6
on my laptop).
This is particularly important for Nix because its chroot feature
uses unshare(CLONE_NEWNS). (http://yellowgrass.org/issue/Nix/219 )
svn path=/nixos/trunk/; revision=27216
2011-05-11 09:33:24 +00:00
Eelco Dolstra
6bc3a76439
* Add an option ‘deployment.adhoc.destroyVMCommand’.
...
svn path=/nixos/trunk/; revision=27211
2011-05-10 13:12:35 +00:00
Eelco Dolstra
d72ba42187
* Revert to GRUB 1 as the default. The switch to GRUB 2 seems to
...
cause more problems than expected, so we should probably think about
the proper migration path for a while. In the meantime, of course,
everybody is encouraged to set boot.loader.grub.version = 2.
svn path=/nixos/trunk/; revision=27209
2011-05-10 10:35:20 +00:00
Michael Raskin
f24a78fe35
Fix typo in emergency grub config
...
svn path=/nixos/trunk/; revision=27196
2011-05-09 14:21:02 +00:00
Eelco Dolstra
f35011e59a
svn path=/nixos/trunk/; revision=27187
2011-05-08 20:51:40 +00:00
Ludovic Courtès
9c3d72cf8e
Default to GRUB version 2.
...
svn path=/nixos/trunk/; revision=27165
2011-05-05 15:07:37 +00:00
Lluís Batlle i Rossell
c4fe98706b
Fixing the samba daemons. "smbd -i", as we were using, handles *one request* and exit.
...
When it was working more or less, it was through upstart respawn.
svn path=/nixos/trunk/; revision=27140
2011-05-04 12:34:26 +00:00
Eelco Dolstra
07820cb8cb
svn path=/nixos/trunk/; revision=27049
2011-04-29 13:24:24 +00:00
Eelco Dolstra
311b702c70
* A bunch of options for the new nixos-deploy-network. Completely
...
unimplemented of course.
svn path=/nixos/trunk/; revision=27048
2011-04-29 11:28:43 +00:00
Sander van der Burg
deb6cce4bb
Adapted deploy-network to accept multiple network configurations which are zipped together. With this you can run the tool like this:
...
$ nixos-deploy-network network1.nix network2.nix
svn path=/nixos/trunk/; revision=27028
2011-04-28 11:02:58 +00:00
Michael Raskin
a61015cfa1
IRCD expression needs recursive attrsets...
...
svn path=/nixos/trunk/; revision=27025
2011-04-28 08:23:09 +00:00
Lluís Batlle i Rossell
0af7c7bdcb
Making the samba services get the timezone.
...
svn path=/nixos/trunk/; revision=27022
2011-04-28 08:07:17 +00:00
Eelco Dolstra
6739162d9a
* Move ircd-hybrid stuff from the services tree to the nixos tree.
...
svn path=/nixos/trunk/; revision=27009
2011-04-27 16:27:05 +00:00
Eelco Dolstra
3ae283e8c3
* Remove installer2 and nixos-bootstrap-archive for lack of
...
documentation / maintenance / clear use cases.
svn path=/nixos/trunk/; revision=27008
2011-04-27 16:16:47 +00:00
Eelco Dolstra
b8a1e98180
* nixos-checkout depends on subversion. (The original nixos-checkout
...
did a "nix-env -i subversion", which may be preferable to a static
dependency.)
svn path=/nixos/trunk/; revision=27006
2011-04-27 15:42:14 +00:00
Eelco Dolstra
41a8f23189
* Revert to the old (r10556) version of the nixos-checkout script. It
...
was never intended as a generic "check out anything" script; it's
just a convenience script to obtain the NixOS trunk after
installation. So that's what it should do.
svn path=/nixos/trunk/; revision=27005
2011-04-27 15:34:33 +00:00
Eelco Dolstra
aefa687b02
* Move the twiki module out of the NixOS tree.
...
svn path=/nixos/trunk/; revision=27001
2011-04-27 15:00:32 +00:00
Eelco Dolstra
56f1918e1c
* Move the Subversion/Repoman module out of the NixOS tree.
...
svn path=/nixos/trunk/; revision=27000
2011-04-27 14:52:55 +00:00
Eelco Dolstra
e3a2cd58e0
svn path=/nixos/trunk/; revision=26998
2011-04-27 14:10:33 +00:00
Eelco Dolstra
742881a0f9
svn path=/nixos/trunk/; revision=26997
2011-04-27 14:10:03 +00:00
Eelco Dolstra
257326915b
* gw6c: don't depend on the services tree.
...
svn path=/nixos/trunk/; revision=26995
2011-04-27 14:03:46 +00:00
Eelco Dolstra
1fd2e71c8d
* Don't add nixos-gui to the installation CD (for now) because 1)
...
xulrunner is a big package (> 105 MiB); 2) it breaks the CD build
(http://hydra.nixos.org/build/1057258 ); 3) currently it doesn't do
much yet.
Note that if we do add it, we might as well add Firefox to the CD
(since it's only a few MiB more on top of xulrunner).
svn path=/nixos/trunk/; revision=26993
2011-04-27 13:54:23 +00:00
Eelco Dolstra
e5966f96b7
* Fix the jboss module.
...
svn path=/nixos/trunk/; revision=26992
2011-04-27 13:33:06 +00:00
Eelco Dolstra
650d14be8d
* Remove most references to the "services" tree.
...
svn path=/nixos/trunk/; revision=26990
2011-04-27 13:16:33 +00:00
Eelco Dolstra
be7a7a5b78
* nixos-build-vms/build-vms.nix: drop the "nixos" function argument,
...
since the path to the NixOS source tree is known.
svn path=/nixos/trunk/; revision=26989
2011-04-27 13:01:42 +00:00
Nicolas Pierron
6839bddd1b
modules/installer/tools: nixos-gui: Fix derivation.
...
svn path=/nixos/trunk/; revision=26972
2011-04-25 17:48:59 +00:00
Nicolas Pierron
921231b555
Add nixos-gui among the installer tools.
...
Add it as a default for the graphical profile.
svn path=/nixos/trunk/; revision=26960
2011-04-25 01:03:57 +00:00
Nicolas Pierron
66eed7681d
nixos-option: Add xml output to reduce the effort in nixos-gui.
...
svn path=/nixos/trunk/; revision=26950
2011-04-24 15:30:25 +00:00
Nicolas Pierron
ba2d96cf85
nixos-option: Handle Lambdas in the injection of previously pretty-printed
...
output.
svn path=/nixos/trunk/; revision=26936
2011-04-23 17:53:05 +00:00
Lluís Batlle i Rossell
8dfc5d041a
Adding 'ethers' on nsswitch.
...
svn path=/nixos/trunk/; revision=26913
2011-04-20 20:59:07 +00:00
Eelco Dolstra
ee3269cbbd
* Put "minimal" or "graphical" in the ISO name to distinguish between
...
the files.
svn path=/nixos/trunk/; revision=26901
2011-04-20 10:48:52 +00:00
Eelco Dolstra
76d3721a53
* `dnsmasq' shouldn't run by default.
...
svn path=/nixos/trunk/; revision=26890
2011-04-19 13:37:31 +00:00
Eelco Dolstra
37562ea864
* Remove a debug statement.
...
svn path=/nixos/trunk/; revision=26889
2011-04-19 13:23:45 +00:00
Evgeny Egorochkin
23df246c9e
4Store SPARQL endpoint: packaged
...
svn path=/nixos/trunk/; revision=26853
2011-04-15 16:10:17 +00:00
Evgeny Egorochkin
a094140655
4store database service: packaged
...
svn path=/nixos/trunk/; revision=26852
2011-04-15 16:10:13 +00:00
Lluís Batlle i Rossell
7a4685d28d
Openldap needs a directory in /var/run to start, and it seems it's clean at every boot.
...
svn path=/nixos/trunk/; revision=26840
2011-04-14 09:54:46 +00:00
Lluís Batlle i Rossell
84bea7a351
I change the ldap settings so pam_unix and 'files' always go in front of ldap,
...
instead of the opposite. Thus, /etc/passwd has priority over ldap.
svn path=/nixos/trunk/; revision=26834
2011-04-13 20:48:50 +00:00
Lluís Batlle i Rossell
d8a702f59f
Making the samba daemons see the nss modules (needed for ldap-unix-pam integration)
...
svn path=/nixos/trunk/; revision=26830
2011-04-13 20:06:29 +00:00
Lluís Batlle i Rossell
e7c9266a70
Adding a poor openldap server module.
...
svn path=/nixos/trunk/; revision=26822
2011-04-13 17:35:19 +00:00
Lluís Batlle i Rossell
6824866d6d
Adding a dnsmasq simple module.
...
svn path=/nixos/trunk/; revision=26820
2011-04-13 14:09:02 +00:00
Eelco Dolstra
e9b2ebcb99
* Send a TCP RST packet, rather than an ICMP port-unreachable packet,
...
for (apparently) open TCP connections that connection tracking
doesn't know about. This prevents TCP connections to this machine
from hanging in CLOSE_WAIT for a long time.
svn path=/nixos/trunk/; revision=26802
2011-04-12 11:25:57 +00:00
Lluís Batlle i Rossell
82a0aa0a8f
Fixing a path in the trac ldap part. Too much slashes make things go wrong.
...
svn path=/nixos/trunk/; revision=26786
2011-04-11 19:43:48 +00:00
Lluís Batlle i Rossell
9c492e34bb
Making the trac module ldap-aware (for the authentication) and sqlite aware.
...
svn path=/nixos/trunk/; revision=26768
2011-04-09 16:05:36 +00:00
Eelco Dolstra
97a37f7c12
* "stage1panic" -> "stage1panic=1" to get rid of a harmless warning.
...
svn path=/nixos/trunk/; revision=26756
2011-04-08 14:42:35 +00:00
Eelco Dolstra
05ff7baf48
* /var/lib/nova/networks should be readable by the `nobody' user,
...
because dnsmasq runs as nobody and reads its host list from there.
svn path=/nixos/trunk/; revision=26740
2011-04-07 12:47:20 +00:00
Eelco Dolstra
3836e8eb02
* Properly initialise Nova's state.
...
svn path=/nixos/trunk/; revision=26735
2011-04-07 09:59:11 +00:00
Eelco Dolstra
4c2a0dc531
* Add multipath-tools (specifically, kpartx) to nova-compute's $PATH
...
so that it can inject SSH keys into disk images.
* Use the injected key if available.
svn path=/nixos/trunk/; revision=26724
2011-04-06 15:53:03 +00:00
Eelco Dolstra
2e2282bd5e
* Added a module to create a disk image for Nova.
...
svn path=/nixos/trunk/; revision=26721
2011-04-06 15:09:34 +00:00
Eelco Dolstra
84be6235c3
* Get rid of a cyclic symlink to the default theme.
...
svn path=/nixos/trunk/; revision=26712
2011-04-06 11:58:13 +00:00
Eelco Dolstra
d9cf1c2da0
* Install ~/.bashrc as a regular file rather than as a symlink.
...
svn path=/nixos/trunk/; revision=26690
2011-04-05 11:24:36 +00:00
Shea Levy
2ddda472c4
Put vim on the live cd in place of nvi
...
svn path=/nixos/trunk/; revision=26679
2011-04-04 13:45:16 +00:00
Eelco Dolstra
fcaec58d27
* Add a module for setting up a basic (single-node) OpenStack Compute
...
(Nova) cloud.
svn path=/nixos/trunk/; revision=26664
2011-04-01 18:09:57 +00:00
Eelco Dolstra
2c1084b21b
* libvirtd job: wait until libvirtd is accepting connections.
...
svn path=/nixos/trunk/; revision=26663
2011-04-01 18:08:53 +00:00
Eelco Dolstra
403accc71f
* Some hackery to make sure that router solicitations get through
...
after creating a bridge.
* Ignore errors (set +e) so that we can get rid of all the "|| true"
clauses.
svn path=/nixos/trunk/; revision=26660
2011-04-01 15:05:42 +00:00
Shea Levy
8dd6f42a91
Fixed formatting
...
svn path=/nixos/trunk/; revision=26647
2011-03-31 23:06:36 +00:00
Shea Levy
f269206972
Update iso-image.nix to work with kernels that use AUFS 2.1 instead of AUFS 2. Older kernels are unaffected.
...
svn path=/nixos/trunk/; revision=26646
2011-03-31 23:03:54 +00:00
Eelco Dolstra
1e2c0d6284
* Try to hack around libvirt's stateful use of /etc/libvirt. (Routine
...
operations such as creating VMs modify the contents of
/etc/libvirt.)
svn path=/nixos/trunk/; revision=26644
2011-03-31 22:10:26 +00:00
Eelco Dolstra
ef80abc886
* Remove some dead code.
...
svn path=/nixos/trunk/; revision=26634
2011-03-31 21:21:55 +00:00
Eelco Dolstra
c4a2eeb9f8
* Added a module for the RabbitMQ server.
...
svn path=/nixos/trunk/; revision=26630
2011-03-31 17:04:05 +00:00
Eelco Dolstra
e174562ee1
* Put ebtables in libvirtd's PATH.
...
svn path=/nixos/trunk/; revision=26629
2011-03-31 15:24:13 +00:00
Nicolas Pierron
96fc9379ba
Convert assertion option into mkAssert.
...
svn path=/nixos/trunk/; revision=26614
2011-03-30 17:52:34 +00:00
Eelco Dolstra
87a2c6d9c5
* Don't enable rdnssd by default for the moment.
...
svn path=/nixos/trunk/; revision=26505
2011-03-25 09:29:22 +00:00
Eelco Dolstra
b2d6dfecbc
* Add the rdnss daemon.
...
* Add the ndisc6 package to the system path if IPv6 is enabled.
svn path=/nixos/trunk/; revision=26496
2011-03-24 16:23:28 +00:00
Eelco Dolstra
c430bf5cc3
* Add virtio_console to the CD because the backdoor requires it.
...
* The booted CD no longer requires "-net user".
svn path=/nixos/trunk/; revision=26427
2011-03-19 08:58:56 +00:00
Eelco Dolstra
6c55079ab0
* nixos-hardware-scan: It's not necessary to detect Intel graphics
...
cards because the default X config contains the Intel driver.
Likewise, there is no need for the "vesa" default.
* nixos-hardware-scan: Clean up the output a bit.
svn path=/nixos/trunk/; revision=26423
2011-03-18 13:52:09 +00:00
Eelco Dolstra
ef07a945c4
* Don't echo characters on /dev/hvc0, otherwise the stdout of commands
...
gets screwed up.
svn path=/nixos/trunk/; revision=26422
2011-03-18 13:16:40 +00:00
Eelco Dolstra
be0fca5781
* Use QEMU/KVM's paravirtualised console device for the backdoor.
...
This has the advantage that it doesn't depend on networking being
up.
* Move common QEMU/KVM guest configuration to profiles/qemu-guest.nix.
svn path=/nixos/trunk/; revision=26421
2011-03-18 12:38:22 +00:00