Eelco Dolstra
73532c3855
Global replace /var/run/current-system -> /run/current-system
2012-07-16 11:34:21 -04:00
Eelco Dolstra
57d74e6f4f
openssh.authorizedKeys.keyFiles: allow multiple keys
...
Ugly hack to get around the error "a string that refers to a store
path cannot be appended to a path". The underlying problem is that
you cannot do
"${./file1} ${./file2}"
but you can do
" ${./file1} ${./file2}"
Obviously we should allow the first case as well.
2012-07-13 17:59:03 -04:00
Eelco Dolstra
7e77dae458
sshd.nix: Create ~/.ssh/authorized_keys with the right ownership
2012-07-13 11:48:47 -04:00
Peter Simons
f22dbd5e05
modules/services/networking/wpa_supplicant.nix: strip trailing whitespace
2012-06-29 11:53:16 +02:00
Peter Simons
61b8ee9029
modules/services/networking/wpa_supplicant.nix: document that interface auto-detection doesn't work on Linux 3.4.x
2012-06-29 11:53:16 +02:00
Eelco Dolstra
352510c208
Add an option ‘boot.systemd.services’
...
This option makes it more convenient to define services because it
automates stuff like setting $PATH, having a pre-start script, and so on.
2012-06-18 15:28:31 -04:00
Eelco Dolstra
42ee3b4209
Add a ‘wantedBy’ attribute to unit definitions
...
This attribute allows a unit to make itself a dependency of another unit.
Also, add an option to set the default target unit.
2012-06-17 23:31:21 -04:00
Eelco Dolstra
4a95f8996b
To ease migration to systemd, generate units from the ‘jobs’ option
...
Also get rid of the ‘buildHook’ job option because it wasn't very useful.
2012-06-16 00:19:43 -04:00
Eelco Dolstra
a46894b960
Get lots more systemd stuff working
...
Enabled a bunch of units that ship with systemd. Also added an option
‘boot.systemd.units’ that can be used to define additional units
(e.g. ‘sshd.service’).
2012-06-14 18:44:56 -04:00
Lluís Batlle i Rossell
9b833aafb9
Fix prayer so it does not start a server at port 80.
...
svn path=/nixos/trunk/; revision=34420
2012-06-10 14:51:43 +00:00
Lluís Batlle i Rossell
78333e5d84
Add a 'named' option to run only for ipv4.
...
I remember the 'named' log was giving annoying messages on systems not ipv6
capable (I can't recall if lacking the kernel ipv6 code or unconfigured ipv6
addresses).
svn path=/nixos/trunk/; revision=34419
2012-06-10 14:50:44 +00:00
Eelco Dolstra
87e06b97a3
* Don't include the hostname in option default values. Default values
...
are included in the manual, so this causes a different manual to be
built for each machine.
* Clean up indentation of cntlm module.
svn path=/nixos/trunk/; revision=34387
2012-06-08 14:29:31 +00:00
Rickard Nilsson
35f9502a27
Added option for specifying the path to the private key file sshd should use.
...
svn path=/nixos/trunk/; revision=34039
2012-05-09 22:13:53 +00:00
Rickard Nilsson
658ea20e7f
Added option for specifying system-wide known hosts file for OpenSSH.
...
svn path=/nixos/trunk/; revision=34038
2012-05-09 22:11:07 +00:00
Peter Simons
7a69733704
Added 'networking.dhcpcd.denyInterfaces' to extend the list of network
...
interfaces black-listed for dhcpcd via configuration.nix. I use this option to
disable DHCP for "veth*" interfaces, which are created by LXC for use inside of
virtual machines.
svn path=/nixos/trunk/; revision=34018
2012-05-08 11:46:01 +00:00
Eelco Dolstra
be189991e0
* Revert r33928: veth* can also be a bridged interface requiring dhcp.
...
See e.g. https://nixos.org/repos/nix/configurations/trunk/tud/stan.nix
So we need a better solution for this...
svn path=/nixos/trunk/; revision=33957
2012-04-30 17:46:11 +00:00
Peter Simons
8b841505ff
modules/services/networking/{dhclient,dhcpcd}.nix: ignore virtual veth* devices created by LXC/cgroups
...
svn path=/nixos/trunk/; revision=33928
2012-04-26 12:31:33 +00:00
Peter Simons
86ba0c52b3
modules/services/networking/ssh/sshd.nix: stripped trailing whitespace
...
svn path=/nixos/trunk/; revision=33926
2012-04-26 08:13:24 +00:00
Peter Simons
ee2fcb645b
modules/services/networking/ssh/sshd.nix: don't write debug output to /tmp/log
...
svn path=/nixos/trunk/; revision=33925
2012-04-26 08:13:21 +00:00
Eelco Dolstra
e6fd0fa893
* Cleanup.
...
svn path=/nixos/trunk/; revision=33921
2012-04-25 15:44:47 +00:00
Eelco Dolstra
43215ff80f
* In the implementation of the ‘authorizedKeys’, don't delete all
...
lines below a certain marker. This is undesirable because commands
like "ssh-copy-id" add keys to the end of the file. Instead mark
all automatically added lines individually.
svn path=/nixos/trunk/; revision=33918
2012-04-25 14:14:20 +00:00
Arie Middelkoop
298e0e1829
Some additional xinetd settings.
...
svn path=/nixos/trunk/; revision=33836
2012-04-19 08:28:54 +00:00
Eelco Dolstra
a7af5588b6
* Drop ugly reference to var/run/current-system/sw/sbin/wpa_cli, and
...
make it conditional.
svn path=/nixos/trunk/; revision=33717
2012-04-10 12:07:30 +00:00
Mathijs Kwik
9a91181be9
damn you shell syntax! :)
...
svn path=/nixos/trunk/; revision=33603
2012-04-05 08:20:43 +00:00
Lluís Batlle i Rossell
56d9e60bb7
Making bind start on started network-interfaces. It wasn't starting ever.
...
svn path=/nixos/trunk/; revision=33542
2012-04-02 18:28:42 +00:00
Mathijs Kwik
a1e86494d0
made challenge-response authentication method configurable for openssh
...
challenge-response is an authentication method that does not need the
plain text password to be emitted over the (encrypted) connection.
This is nice if you don't fully trust the server.
It is enabled (upstream) by default.
To the end user, it still looks like normal password authentication,
but instead of sending it, it is used to hash some challenge.
This means that if you don't want passwords to be used ever at all,
and just stick to public key authentication, you probably want to
disable this option too.
svn path=/nixos/trunk/; revision=33513
2012-04-01 10:54:17 +00:00
Mathijs Kwik
e216ce07df
dhcpcd: ip-up and ip-down emit more info (like wifi access point)
...
useful to only start certain services (like vpn) on certain networks
svn path=/nixos/trunk/; revision=33512
2012-04-01 10:54:15 +00:00
Mathijs Kwik
7d4fd69b5f
dhcpcd: wifi disconnect should also generate ip-down
...
svn path=/nixos/trunk/; revision=33511
2012-04-01 10:54:13 +00:00
Mathijs Kwik
7ba690add6
optionally allow normal users to control wpa_supplicant through
...
wpa_gui or wpa_cli.
Comes with a default wpa_supplicant.conf, which gets updated through
aforementioned utilities.
svn path=/nixos/trunk/; revision=33510
2012-04-01 10:54:10 +00:00
Mathijs Kwik
de5b437004
assertions '.msg' doesn't exist => .message
...
svn path=/nixos/trunk/; revision=33508
2012-04-01 10:54:06 +00:00
Mathijs Kwik
f31fefdfd9
splitted ssh/sshd X11 forwarding logic. Backward compatible change.
...
You can now set the forwardX11 config option for the ssh client and server separately.
For server, the option means "allow clients to request X11 forwarding".
For client, the option means "request X11 forwarding by default on all connections".
I don't think it made sense to couple them. I might not even run the server on some machines.
Also, I ssh to a lot of machines, and rarely want X11 forwarding. The times I want it,
I use the -X/-Y option, or set it in my ~/.ssh/config.
I also decoupled the 'XAuthLocation' logic from forwardX11.
For my case where ssh client doesn't want forwarding by default, it still wants to set the path for the cases I do need it.
As this flag is the one that pulls in X11 dependencies, I changed the minimal profile and the no-x-libs config to check that instead now.
svn path=/nixos/trunk/; revision=33407
2012-03-25 15:42:05 +00:00
Eelco Dolstra
326891443c
* dhcpcd: Don't use the "persistent" option. With it, dhcpcd won't
...
delete routes and addresses when it quits. This causes those routes
and addresses to stick around forever, since dhcpcd won't delete
them when it runs next (even if it acquires a new lease on the same
interface). This is bad; in particular the stale (default) routes
can break networking.
The downside to removing "persistent" is that you should never ever
do "stop dhcpcd" on a remote machine configured by dhcpcd.
svn path=/nixos/trunk/; revision=33388
2012-03-23 21:00:32 +00:00
Eelco Dolstra
89a21f7a7d
* GIDs are supposed to match UIDs.
...
svn path=/nixos/trunk/; revision=33346
2012-03-22 10:11:15 +00:00
Lluís Batlle i Rossell
5ddae4a83a
Changing portmap by rpcbind on nfs services.
...
That could make rpc.statd work.
Patch by Rickard Nilsson.
I'm not sure we need that netconfig file in etc.
svn path=/nixos/trunk/; revision=33342
2012-03-21 20:37:37 +00:00
Eelco Dolstra
ee6c9bb998
* Provide two utility functions in Upstart jobs: "ensure JOBNAME"
...
starts the given job and waits until it's running; "stop_check"
checks that the current job hasn't been asked to stop.
svn path=/nixos/trunk/; revision=33214
2012-03-17 19:12:33 +00:00
Eelco Dolstra
07df536c42
* Fix comment.
...
svn path=/nixos/trunk/; revision=33213
2012-03-17 18:01:42 +00:00
Eelco Dolstra
53847ef665
* Don't use the non-existent "never" condition in stopOn.
...
svn path=/nixos/trunk/; revision=33212
2012-03-17 18:00:20 +00:00
Eelco Dolstra
dd693fdc5e
* Revert unintended commit.
...
svn path=/nixos/trunk/; revision=33209
2012-03-17 17:31:08 +00:00
Eelco Dolstra
573877c1ac
* Use boot.kernelModules everywhere instead of explicit calls to
...
modprobe.
* Move the implementation of boot.kernelModules from the udev job to
the activation script. This prevents races with the udev job.
* Drop references to the "capability" kernel module, which no longer
exists.
svn path=/nixos/trunk/; revision=33208
2012-03-17 17:26:17 +00:00
Eelco Dolstra
646d67465c
* Upstart stupidly doesn't kill post-start scripts if we do "stop
...
JOB", but it does kill the job's main process. So if the post-start
script if waiting for the job's main process to reach some state, it
may hang forever. Thus, the post-start script should monitor
whether its job has been requested to stop and exit in that case.
svn path=/nixos/trunk/; revision=33176
2012-03-16 21:24:51 +00:00
Eelco Dolstra
a395e46192
* Fix the NFS Upstart dependencies. Mountd is now started before
...
nfsd, as suggested by the nfs-utils README.
Also, rather than relying on Upstart events (which have all sorts of
problems, especially if you have jobs that have multiple
dependencies), we know just let jobs start their on prerequisites.
That is, nfsd starts mountd in its preStart script; mountd starts
statd; statd starts portmap. Likewise, mountall starts statd to
ensure that it can mount NFS filesystems. This means that doing
something like "start nfsd" from the command line will Do The Right
Thing and start the dependencies of nfsd.
svn path=/nixos/trunk/; revision=33172
2012-03-16 20:10:14 +00:00
Eelco Dolstra
823471a100
* portmap: add a postStart action that ensures that portmap is
...
actually listening. Otherwise we have a race condition during boot
where statd's start can be delayed, causing NFSv3 mounting to fail.
svn path=/nixos/trunk/; revision=33171
2012-03-16 19:49:47 +00:00
Eelco Dolstra
5a36c25e9f
* nfsd and statd do not need to be stopped when portmap stops.
...
svn path=/nixos/trunk/; revision=33167
2012-03-16 17:43:18 +00:00
Yury G. Kudryashov
9bb1132525
NM: add IFACE to ip-up
...
svn path=/nixos/trunk/; revision=33107
2012-03-15 13:51:17 +00:00
Yury G. Kudryashov
339d5b2b48
Add NetworkManager module
...
It works but it doesn't respect ignoredInterfaces etc.
Probably I forgotten to create some directories (all of them exist on my
laptop). Feel free to fix this module.
svn path=/nixos/trunk/; revision=33097
2012-03-15 07:19:17 +00:00
Ludovic Courtès
5fad465261
BitlBee: Add `job.name'; cleanup white space.
...
svn path=/nixos/trunk/; revision=33012
2012-03-12 13:10:13 +00:00
Mathijs Kwik
f68c95d1fe
completely removed gw6c. use gogoclient
...
svn path=/nixos/trunk/; revision=32990
2012-03-11 14:36:39 +00:00
Mathijs Kwik
7d964498b8
changed the way networking-providers plug themselves before "networking"
...
svn path=/nixos/trunk/; revision=32781
2012-03-04 18:44:47 +00:00
Mathijs Kwik
8bfe513e75
renamed "all-interfaces" to "networking"
...
svn path=/nixos/trunk/; revision=32780
2012-03-04 18:44:42 +00:00
Eelco Dolstra
835170fe19
* Remove debug statement.
...
svn path=/nixos/trunk/; revision=32778
2012-03-04 17:21:33 +00:00
Eelco Dolstra
356ff79400
* wpa_supplicant: automatically figure out the wireless interface(s)
...
on which to run wpa_supplicant, unless they're set explicitly.
svn path=/nixos/trunk/; revision=32777
2012-03-04 17:21:14 +00:00
Eelco Dolstra
2ac5df3a93
* Undo unintended commit.
...
svn path=/nixos/trunk/; revision=32771
2012-03-04 15:48:58 +00:00
Eelco Dolstra
6c792b3d9e
* A more pragmatic solution to the missing tar manpage problem.
...
svn path=/nixos/trunk/; revision=32770
2012-03-04 15:47:44 +00:00
Eelco Dolstra
0d39390ad4
* ntpd: cleanup.
...
svn path=/nixos/trunk/; revision=32769
2012-03-04 15:34:44 +00:00
Mathijs Kwik
3c957bd921
gogoclient: ipv6 tunnel module
...
meant to replace the obsolete gw6c module
builds fine on stdenv-updates branch
svn path=/nixos/trunk/; revision=32767
2012-03-04 12:58:22 +00:00
Mathijs Kwik
86bf5566fe
many daemons: depend on all-interfaces instead of gw6c
...
svn path=/nixos/trunk/; revision=32766
2012-03-04 12:58:18 +00:00
Mathijs Kwik
ce83d3580e
gw6c: provide support for all-interfaces
...
svn path=/nixos/trunk/; revision=32765
2012-03-04 12:58:14 +00:00
Eelco Dolstra
742198c6ea
* dhcpcd: Ignore vboxnet*.
...
svn path=/nixos/trunk/; revision=32716
2012-03-01 13:49:47 +00:00
Eelco Dolstra
4f8d076ae7
* Allow the start/stop condition of OpenVPN jobs to be overriden
...
easily.
svn path=/nixos/trunk/; revision=32673
2012-02-28 10:30:12 +00:00
Eelco Dolstra
acea54b3c6
* In the users...keyFiles option, the "string" type doesn't work very
...
well because elements could be paths, e.g.
users.extraUsers.root.openssh.authorizedKeys.keyFiles =
[ ./id_key.pub ];
So disable the type check for now.
svn path=/nixos/trunk/; revision=32558
2012-02-25 17:31:39 +00:00
Peter Simons
90adc800c5
sshd: choose host key type
...
svn path=/nixos/trunk/; revision=32479
2012-02-22 20:28:54 +00:00
Peter Simons
fca4803a74
gw6c: no built-in log rotation, we use logrotate for that
...
svn path=/nixos/trunk/; revision=32478
2012-02-22 20:28:51 +00:00
Eelco Dolstra
b2910df04e
* Various cleanups in the OpenVPN module. The option
...
‘services.openvpn.enable’ is now obsolete; specifying instances in
‘services.openvpn.servers’ is enough.
svn path=/nixos/trunk/; revision=32441
2012-02-20 20:10:07 +00:00
Eelco Dolstra
35734279ae
* Fix incorrect default value.
...
svn path=/nixos/trunk/; revision=32431
2012-02-20 16:53:44 +00:00
Eelco Dolstra
4e9c8d0b9d
* dhcpcd: restart ntpd and emit ip-up/ip-down events. Also attach the
...
interface name to the events, as suggested by Mathijs Kwik.
svn path=/nixos/trunk/; revision=32430
2012-02-20 15:19:46 +00:00
Eelco Dolstra
a46fd58b3d
* Use the networking.useDHCP out of the dhclient module.
...
svn path=/nixos/trunk/; revision=32428
2012-02-20 14:29:21 +00:00
Eelco Dolstra
1770b5a400
* dhcpcd: use a configuration file. Use the "denyinterfaces" option
...
to simplify the start script. Drop the ifplugd hook because dhcpcd
monitors interface link status itself.
svn path=/nixos/trunk/; revision=32424
2012-02-20 13:13:29 +00:00
Eelco Dolstra
ae27eafe4c
* Added a module for dhcpcd, a DHCP client (not enabled by default
...
yet). It's smaller than dhclient and has more features
(e.g. automatically detects link status changes, supports
openresolv, does IPv4LL, and supports IPv6 Router Advertisements).
svn path=/nixos/trunk/; revision=32413
2012-02-20 01:17:53 +00:00
Eelco Dolstra
1707d1130f
* Move the dhclient/wpa_supplicant restart actions out of the ifplugd
...
module.
svn path=/nixos/trunk/; revision=32409
2012-02-19 22:53:25 +00:00
Eelco Dolstra
aca8225e3b
* Invalidate the nscd hosts cache when an "ip-up" event occurs. This
...
event is emitted by dhclient and by the network-interfaces job in
case of statically configured interfaces. Invalidating the cache is
necessary to get rid of negative queries.
svn path=/nixos/trunk/; revision=31779
2012-01-21 19:13:43 +00:00
Peter Simons
5144e94694
gw6c: fixed faulty path reference
...
svn path=/nixos/trunk/; revision=31657
2012-01-18 20:34:04 +00:00
Yury G. Kudryashov
a87a1bca04
wpa_supplicant: add D-Bus interface
...
svn path=/nixos/trunk/; revision=30972
2011-12-19 23:16:32 +00:00
Nicolas Pierron
e264d1ab79
Convert users.extraUsers to an option set and add support for openssh
...
authorized_keys file generation.
svn path=/nixos/trunk/; revision=30611
2011-11-29 06:08:55 +00:00
Eelco Dolstra
8eba736da9
* Use the ‘path’ attribute in Upstart jobs in more places. It's a bit
...
more readable (also in "ps" output).
svn path=/nixos/trunk/; revision=30565
2011-11-25 16:32:54 +00:00
Eelco Dolstra
da542dc1ae
* Added a module for oidentd.
...
svn path=/nixos/trunk/; revision=30381
2011-11-10 23:06:24 +00:00
Lluís Batlle i Rossell
d9356e9a35
Fixing documentation about the prayer module, and adding a port setting,
...
defaulting to something other than 80 at least.
svn path=/nixos/trunk/; revision=30363
2011-11-09 21:08:50 +00:00
Lluís Batlle i Rossell
578f83eef4
Adding a module for the prayer webmail.
...
svn path=/nixos/trunk/; revision=30361
2011-11-09 20:48:12 +00:00
Lluís Batlle i Rossell
2825a3a6ae
Allowing 'named' to have a config file apart, as it can have passwords.
...
svn path=/nixos/trunk/; revision=30213
2011-11-03 19:13:52 +00:00
Lluís Batlle i Rossell
efc64042e0
Adding extraConfig to unbound
...
svn path=/nixos/trunk/; revision=30211
2011-11-03 18:49:54 +00:00
Eelco Dolstra
0309f02fc5
* Add period.
...
svn path=/nixos/trunk/; revision=30201
2011-11-03 02:14:40 +00:00
Lluís Batlle i Rossell
9489c5a02b
Setting default of unbound.enable to disabled. Few may want it enabled.
...
svn path=/nixos/trunk/; revision=30198
2011-11-02 21:04:32 +00:00
Lluís Batlle i Rossell
5cb67ef832
Adding a module for unbound.
...
svn path=/nixos/trunk/; revision=30197
2011-11-02 20:59:12 +00:00
Evgeny Egorochkin
0d2ef63b84
Quassel: fix package name
...
svn path=/nixos/trunk/; revision=30142
2011-10-31 12:48:59 +00:00
Peter Simons
20b364f4de
Reverting revisions 30103-30106: "always set nixpkgs.config.{state,store}Dir", etc.
...
After the change from revision 30103, nixos-rebuild suddenly consumed
freaky amounts of memory. I had to abort the process after it had
allocated well in excess of 30GB(!) of RAM. I'm not sure what is causing
this behavior, but undoing that assignment fixes the problem. The other
two commits needed to be revoked, too, because they depend on 30103.
svn path=/nixos/trunk/; revision=30127
2011-10-30 15:19:58 +00:00
Shea Levy
09cf6ce70c
find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g'
...
Don't assume /nix/store or /nix/var in NixOS modules, this is configurable
svn path=/nixos/trunk/; revision=30104
2011-10-29 21:03:57 +00:00
Joachim Schiele
298186fd06
added cntlm as a system service with its own user 'cntlm'
...
svn path=/nixos/trunk/; revision=29737
2011-10-09 22:34:32 +00:00
Eelco Dolstra
61072f8995
* Add a module for a Flash policy server.
...
svn path=/nixos/trunk/; revision=29296
2011-09-15 15:13:46 +00:00
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Eelco Dolstra
1df952182a
* Only flush the POSTROUTING chain.
...
svn path=/nixos/trunk/; revision=28153
2011-08-04 15:33:40 +00:00
Eelco Dolstra
31afd2bb2e
* vsftpd: use /var/empty instead of /var/ftp/empty as the empty
...
chroot (the latter doesn't exist).
* vsftpd: make the anonymous user's home read-only, otherwise vsftpd
will fail.
svn path=/nixos/trunk/; revision=27983
2011-07-28 09:42:20 +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
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
Michael Raskin
a61015cfa1
IRCD expression needs recursive attrsets...
...
svn path=/nixos/trunk/; revision=27025
2011-04-28 08:23:09 +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
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
650d14be8d
* Remove most references to the "services" tree.
...
svn path=/nixos/trunk/; revision=26990
2011-04-27 13:16:33 +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
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
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
f71bd3f93c
* dhclient: ignore libvirt's network interfaces.
...
svn path=/nixos/trunk/; revision=26327
2011-03-15 15:30:12 +00:00
Eelco Dolstra
3cb7a54dba
* Added an option `networking.bridges' to allow Ethernet bridges to be
...
defined.
svn path=/nixos/trunk/; revision=26325
2011-03-15 15:13:48 +00:00
Eelco Dolstra
64d871c0d9
* Enable FTP connection tracking in the firewall.
...
svn path=/nixos/trunk/; revision=26275
2011-03-11 13:34:17 +00:00
Eelco Dolstra
005ca15f64
* Firewall: add an option to allow extra firewall rules to be added.
...
* Firewall: change the policy of the INPUT chain back to ACCEPT to
prevent a lockup when the Nix store is mounted over the network
(i.e. in our VM tests). This is because as soon as the policy is
set to DROP, the iptables modules that enable access to the network
filesystem cannot be acccessed anymore.
svn path=/nixos/trunk/; revision=26274
2011-03-11 13:04:17 +00:00
Eelco Dolstra
ab0ce6734b
* firewall.nix: Only flush/delete the chains created by us.
...
svn path=/nixos/trunk/; revision=26271
2011-03-11 11:53:18 +00:00
Eelco Dolstra
f672aa71bf
* RFC 4890 says that local nodes should not filter pretty much any
...
ICMPv6 messages (including echo requests), so don't do that.
svn path=/nixos/trunk/; revision=26270
2011-03-11 11:08:16 +00:00
Eelco Dolstra
0ea9f6611a
* Add some more rules to allow ICMPv6 router/neighbour advertisements
...
in. Maybe we're better off accepting all ICMPv6 messages *except*
echo requests.
svn path=/nixos/trunk/; revision=26260
2011-03-10 16:25:08 +00:00
Eelco Dolstra
53bc6d3efa
* NAT module: support active FTP.
...
svn path=/nixos/trunk/; revision=26247
2011-03-10 13:03:47 +00:00
Eelco Dolstra
9bf4ac079e
* Add a module for doing Network Address Translation.
...
svn path=/nixos/trunk/; revision=26246
2011-03-10 12:08:39 +00:00
Eelco Dolstra
d6424efbfb
* Cleanup.
...
svn path=/nixos/trunk/; revision=26244
2011-03-10 09:39:17 +00:00
Eelco Dolstra
e884cbed7d
* Add an option for opening UDP ports.
...
* Accept packets destined for link-local addresses (fe80::/10).
svn path=/nixos/trunk/; revision=26236
2011-03-09 16:37:16 +00:00
Eelco Dolstra
12161f3183
* Add a firewall option to allow pings. (Maybe this should
...
be enabled by default.)
svn path=/nixos/trunk/; revision=26233
2011-03-09 15:28:47 +00:00
Eelco Dolstra
e4051e105c
* Use a separate chain for logging and rejecting.
...
svn path=/nixos/trunk/; revision=26232
2011-03-09 15:11:01 +00:00
Eelco Dolstra
66716f9dd5
* Firewall: support IPv6.
...
svn path=/nixos/trunk/; revision=26231
2011-03-09 14:41:48 +00:00
Eelco Dolstra
843e1f6c1e
* Cleanup.
...
svn path=/nixos/trunk/; revision=26228
2011-03-09 12:28:44 +00:00
Eelco Dolstra
b61c632006
* Add a module for radvd.
...
svn path=/nixos/trunk/; revision=26035
2011-02-19 19:19:55 +00:00
Yury G. Kudryashov
559834437a
ejabberd: tabs->spaces, remove trailing whitespace
...
svn path=/nixos/trunk/; revision=25996
2011-02-16 21:03:14 +00:00
Ludovic Courtès
7edc419f65
lshd: Streamline first use.
...
svn path=/nixos/trunk/; revision=25716
2011-01-29 23:06:52 +00:00
Eelco Dolstra
c65c03099f
* Use "initctl restart".
...
svn path=/nixos/trunk/; revision=25249
2010-12-23 11:00:20 +00:00
Evgeny Egorochkin
3b28efd00d
Git daemon: packaged.
...
svn path=/nixos/trunk/; revision=25163
2010-12-17 07:33:20 +00:00
Lluís Batlle i Rossell
d5fb41795f
Adding a wake on lan module.
...
svn path=/nixos/trunk/; revision=24958
2010-12-02 20:23:45 +00:00
Eelco Dolstra
29813b418c
* Don't run dhclient on Xen's vif* and tap* interfaces.
...
svn path=/nixos/trunk/; revision=24948
2010-12-01 16:14:44 +00:00
Evgeny Egorochkin
2224d78b33
network-interfaces: MAC address support take 2: now it seems to work
...
svn path=/nixos/trunk/; revision=24847
2010-11-24 22:58:53 +00:00
Eelco Dolstra
341698c367
* OpenVPN: add it to the system path when enabled.
...
svn path=/nixos/trunk/; revision=24343
2010-10-18 10:40:08 +00:00
Eelco Dolstra
2bb4a618e2
* Added an option "services.openssh.extraConfig" that allows
...
setting arbitrary options in sshd_config, e.g.,
services.openssh.extraConfig = "PermitTunnel yes";
svn path=/nixos/trunk/; revision=24341
2010-10-18 10:31:41 +00:00
Ludovic Courtès
8d88e37b27
avahi-daemon: Remove outdated and confusing comment.
...
svn path=/nixos/trunk/; revision=24152
2010-10-07 20:10:49 +00:00
Eelco Dolstra
102a1e15ba
* Use the "iburst" flag. This makes ntpd synchronise in a few seconds rather than
...
a few minutes by sending an initial burst of messages to the time servers.
svn path=/nixos/trunk/; revision=24119
2010-10-06 16:03:37 +00:00
Eelco Dolstra
35562ea4a3
* Don't daemonize; otherwise Upstart will respawn it.
...
svn path=/nixos/trunk/; revision=24081
2010-10-05 15:17:09 +00:00
Evgeny Egorochkin
88b24ece7f
Quassel: quick fix
...
svn path=/nixos/trunk/; revision=23930
2010-09-26 02:10:23 +00:00
Evgeny Egorochkin
b766f8ac8d
AMule: quick fix
...
svn path=/nixos/trunk/; revision=23929
2010-09-26 02:09:34 +00:00
Evgeny Egorochkin
3bca96e1bd
AMule: create the user only if the user option is null, don't pollute the system profile with useless packages.
...
svn path=/nixos/trunk/; revision=23928
2010-09-26 02:04:06 +00:00
Evgeny Egorochkin
d8c72719aa
Quassel: Create quassel user only if cfg.user is left empty to avoid messing up existing users.
...
This solution is still suboptimal but others are even worse.
svn path=/nixos/trunk/; revision=23927
2010-09-26 01:58:44 +00:00
Evgeny Egorochkin
c0751f83e9
Quassel: don't pollute profiles with useless files
...
svn path=/nixos/trunk/; revision=23904
2010-09-22 23:07:52 +00:00
Evgeny Egorochkin
36fe7f69c6
Quassel: get rid of custom logging remnants
...
svn path=/nixos/trunk/; revision=23867
2010-09-20 01:44:07 +00:00
Evgeny Egorochkin
764f5f34fd
Quassel: use the generic logging for jobs instead of rolling your own.
...
svn path=/nixos/trunk/; revision=23854
2010-09-18 12:50:55 +00:00
Evgeny Egorochkin
259c007f70
Quassel: use the convenience daemon package.
...
svn path=/nixos/trunk/; revision=23849
2010-09-18 11:30:09 +00:00
Evgeny Egorochkin
1b4c811d41
Added AMule daemon service
...
svn path=/nixos/trunk/; revision=23848
2010-09-18 11:30:04 +00:00
Eelco Dolstra
ea4d3e2c8c
* Don't run dhclient on Xen's peth* devices.
...
svn path=/nixos/trunk/; revision=23779
2010-09-14 11:17:48 +00:00
David Guibert
6436ed1de4
nixos: kerberos services for the server.
...
svn path=/nixos/trunk/; revision=22985
2010-08-06 08:49:08 +00:00
Eelco Dolstra
793767870a
* Disable writing dhclient debug info to /tmp/dhcp-exit.
...
svn path=/nixos/trunk/; revision=22962
2010-08-05 13:32:58 +00:00
Wouter den Breejen
e058f7ea45
sabnzbd now really starts at boot
...
svn path=/nixos/trunk/; revision=22579
2010-07-13 14:45:44 +00:00
Eelco Dolstra
54a4eead20
* Typos.
...
svn path=/nixos/trunk/; revision=22537
2010-07-08 16:21:55 +00:00
Eelco Dolstra
54d201294b
* Sync with the trunk.
...
svn path=/nixos/branches/boot-order/; revision=22487
2010-07-06 08:21:05 +00:00
Wouter den Breejen
2335cb65a3
Added sabnzbd :)
...
SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction.
http://sabnzbd.org/
svn path=/nixos/trunk/; revision=22446
2010-07-03 15:10:48 +00:00
Evgeny Egorochkin
ebd9fb6cf3
Added Quassel IRC client service
...
svn path=/nixos/trunk/; revision=22425
2010-06-28 18:36:37 +00:00