Eelco Dolstra
002ffea364
wpa_supplicant: Fix wlan interface detection on Linux 3.4
...
Linux 3.4 apparently doesn't have the "wireless" file.
2013-07-15 13:54:15 +02:00
Eelco Dolstra
69eeb83039
Use "or"
2013-07-15 13:54:15 +02:00
Mathijs Kwik
824b5b645a
openvpn: fix type error
...
either use
- optional cond "target"
or
- optionals cond ["target1" "target2"]
2013-06-04 07:45:58 +02:00
Domen Kozar
53390a2da9
add networkmanager_openvpn to systemPackages
2013-05-29 00:38:50 +02:00
Eelco Dolstra
2ec6759f5f
openvpn.nix: Use systemd.*
...
Also add an option ‘autoStart’ to configure whether an OpenVPN
instance should be started automatically. And don't log to
/var/log/openvpn-* anymore.
2013-05-28 14:39:48 +02:00
Lluís Batlle i Rossell
f60393975f
gnunet: it was missing extraGroups
2013-05-28 10:19:59 +02:00
Ricardo M. Correia
6336048c58
chrony: properly set rtconutc option, and add a few more options
2013-05-23 03:00:09 +00:00
Ricardo M. Correia
02d9a8066a
Add chrony service
...
Also, do not build and add ntp to the system unless it is enabled.
2013-05-23 02:07:49 +00:00
Domen Kozar
edd77af3fe
add openvpn config file to networkmanager service
2013-05-13 17:52:26 +02:00
Domen Kozar
078130767d
add openvpn plugin to networkmanager
2013-05-11 19:25:14 +02:00
Lluís Batlle i Rossell
4f71bce691
Adding miniupnpc to gnunet path, to be able to use upnp
2013-05-07 18:53:28 +02:00
Domen Kožar
01887f2c86
Merge pull request #100 from jcumming/hostapd.130224
...
proper hostapd dependencies
2013-05-04 01:38:45 -07:00
Domen Kožar
c4ead79dd6
Merge pull request #149 from NixOS/networkmanager_suspend
...
restart networkmanager on suspend resume
2013-04-27 09:13:15 -07:00
Lluís Batlle i Rossell
af0e751ee9
Making gnunet start properly (calling gnunet-service-arm directly)
2013-04-24 20:17:14 +04:00
Lluís Batlle i Rossell
f50014339a
Putting the gnunet module up to date. It still doesn't start gnunet though.
...
No idea why.
2013-04-24 19:03:29 +04:00
Domen Kozar
ec9dc730ec
restart networkmanager on suspend resume
2013-04-22 19:36:14 +02:00
Evgeny Egorochkin
fa0f5bf72f
Freenet: fix 2 typos
2013-04-22 16:50:58 +03:00
Lluís Batlle i Rossell
7a71320a9c
Adding freenet module
2013-04-21 11:27:41 +04:00
viric
7d2ec75ae7
Merge pull request #128 from pSub/bitlbee
...
Bitlbee: updated for systemd; added more options like AuthMode
2013-04-14 12:49:18 -07:00
Jack Cummings
edc12de8c9
add wantedBy network.target so that hostapd starts by default
2013-04-12 23:25:32 -07:00
Pascal Wittmann
c4b3b71917
Bitlbee: create homedir; do not use /etc/bitlbee.conf
2013-04-02 00:08:17 +02:00
Domen Kozar
969c577173
fixes #127
2013-03-31 21:18:57 +02:00
Pascal Wittmann
8d0a7cb6d2
Bitlbee: tabs to spaces
2013-03-29 12:51:47 +01:00
Pascal Wittmann
e33af28567
Bitlbee: hardcode username and configdir; homedir == configdir
2013-03-29 12:37:06 +01:00
Pascal Wittmann
4af26d582c
Bitlbee: updated for systemd; added more options like AuthMode
2013-03-29 10:28:54 +01:00
Marc Weber
f3e6b42258
replace list by listOf using same style as for attrsOf
2013-03-14 17:09:21 +01:00
Jack Cummings
d5b6456f40
proper hostapd dependencies
2013-02-24 03:11:45 -08:00
Shea Levy
b83be79adf
default-websockify: Stop when reconfigured (i.e. new ports added/removed)
2013-02-18 11:55:46 -05:00
Shea Levy
762ea5c578
websockify: Add unit descriptions
2013-02-18 11:55:10 -05:00
Shea Levy
969fe07be6
Websockify: End descriptions with a period.
2013-02-18 11:51:33 -05:00
Eelco Dolstra
233cc2fdaa
Add a module for MiniDLNA
...
Now my NixOS machine can serve videos to my Bluray player!
2013-02-16 23:08:53 +01:00
Shea Levy
08fdc234c8
Fix manual build
2013-02-15 14:36:20 -05:00
Shea Levy
59a4df3159
Add websockify service
2013-02-14 21:50:41 -05:00
Eelco Dolstra
75662a45d6
wpa_supplicant: Remove accidentally committed debug flag
2013-01-23 22:07:40 +01:00
Eelco Dolstra
d75fa1fdc1
wpa_supplicant: Use the nl80211 and wext drivers by default
...
This should make wpa_supplicant work out of the box on newer and older
kernels.
2013-01-22 12:33:41 +01:00
Rickard Nilsson
1440e92ae8
Rename NetworkManager-init service to networkmanager-init
2013-01-17 13:37:54 +01:00
Rickard Nilsson
c6bb091b5b
Rewrite NetworkManager job to systemd service
2013-01-17 12:51:52 +01:00
Eelco Dolstra
4d983d4955
Rename ‘system.build.systemd’ to ‘systemd.package’
...
This makes it cheaper to test a new systemd and is more consistent
with other modules.
2013-01-16 13:17:57 +01:00
Eelco Dolstra
ae4e94d9ac
Rename ‘boot.systemd’ to ‘systemd’
...
Suggested by Mathijs Kwik. ‘boot.systemd’ is a misnomer because
systemd affects more than just booting. And it saves some typing.
2013-01-16 12:33:18 +01:00
Eelco Dolstra
5685ee5446
Add/fix systemd unit descriptions
2013-01-10 13:59:41 +01:00
Eelco Dolstra
3bbbd62cbc
Start dhcpcd/wpa_supplicant after systemd-udev-settle
...
This is necessary to prevent a race. Udev 197 has a new naming scheme
for network devices, so it will rename (say) eth0 to eno0. This fails
with "error changing net interface name eth0 to eno1: Device or
resource busy" if another process has opened the interface in the
meantime.
2013-01-10 13:46:34 +01:00
Eelco Dolstra
0b3d54d3cd
Guard against portmap and rpcbind both being enabled
2013-01-09 22:53:44 +01:00
Eelco Dolstra
96ba0ca283
For some units, use "systemctl restart" rather than "systemctl stop/start"
...
During a configuration switch, changed units are stopped in the old
configuration, then started in the new configuration (i.e. after
running the activation script and running "systemctl daemon-reload").
This ensures that services are stopped using the ExecStop/ExecStopPost
commands from the old configuration.
However, for some services it's undesirable to stop them; in
particular dhcpcd, which deconfigures its network interfaces when it
stops. This is dangerous when doing remote upgrades - usually things
go right (especially because the switch script ignores SIGHUP), but
not always (see 9aa69885f0
). Likewise,
sshd should be kept running for as long as possible to prevent a
lock-out if the switch fails.
So the new option ‘stopIfChanged = false’ causes "systemctl restart"
to be used instead of "systemctl stop" followed by "systemctl start".
This is only proper for services that don't have stop commands. (And
it might not handle dependencies properly in some cases, but I'm not
sure.)
2013-01-05 01:05:25 +01:00
Rickard Nilsson
19e8ffc43f
networkmanager: Use systemctl instead of initctl
2012-12-30 19:30:18 +01:00
Mathijs Kwik
183829cf99
gogoclient: change working dir before starting
...
otherwise state files are placed in /
2012-12-28 10:22:49 +01:00
Mathijs Kwik
3456f3b232
systemd: convert gogoclient job to service unit
2012-12-27 12:23:50 +01:00
Eelco Dolstra
97ae408e83
Merge remote-tracking branch 'origin/master' into systemd
2012-12-11 17:40:39 +01:00
Eelco Dolstra
78bd54ca80
Allow setting additional AuthorizedKeysFiles
...
Charon needs this to include the dynamically generated
/root/.vbox-charon-client-key. (We used
users.extraUsers.root.openssh.authorizedKeys.keyFiles for this, but
that no longer works.)
2012-12-11 17:29:34 +01:00
Eelco Dolstra
eda051cff5
Remove abuse of "with"
2012-12-11 17:14:52 +01:00
Rickard Nilsson
68872f81cf
openssh: Change the way authorized keys are added to the system.
...
Instead of the somewhat hacky script that inserted public keys
into the users' .ssh/authorized_keys files, use the AuthorizedKeysFile
configuration directive in sshd_config and generate extra key
files for each user (placed in /etc/authorized_keys.d/).
2012-12-11 17:02:39 +01:00