Austin Seipp
ee14496ae2
nixos/dhcpcd: (try to) restart chrony in the exitHook
...
As the comment notes, restarts/exits of dhcpcd generally require
restarting the NTP service since, if name resolution fails for a pool of
servers, the service might break itself. To be on the safe side, try
restarting Chrony in these instances, too.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-30 18:50:33 -06:00
Austin Seipp
7b8d9700e1
nixos/chrony: don't emit initstepslew when servers is empty
...
Setting the server list to be empty is useful e.g. for hardware-only
or virtualized reference clocks that are passed through to the system
directly. In this case, initstepslew has no effect, so don't emit it.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-30 18:50:32 -06:00
Robert Schütz
74e283403c
nixos/borgbackup: allow paths to be empty or relative ( #51275 )
...
This former necessary in order to exclusively use `--pattern` or `--patterns-from`.
Fixes #51267 .
2018-11-30 17:37:50 +01:00
Florian Klink
aa490a543e
Merge pull request #48049 from Vskilet/roundcube-module
...
nixos/roundcube: add roundcube module
2018-11-30 13:29:00 +01:00
Florian Klink
3caeeabb14
gitlab: stop regenerating the authorized_keys file
2018-11-28 23:09:23 +01:00
Robin Gloster
1262a5ca97
roundcube: apply code review suggestions
2018-11-28 18:53:37 +01:00
Robin Gloster
9ace7f6409
roundcube: clean-up and add test
2018-11-28 18:52:10 +01:00
Victor SENE
2f8073bd92
roundcube: IPv6 by default
2018-11-28 18:52:10 +01:00
Victor SENE
b5120953c6
nixos/roundcube: add roundcube module and default configuration
2018-11-28 18:52:08 +01:00
Léo Gaspard
f161f02552
Merge branch 'pr-51043'
...
* pr-51043:
nixos/urxvtd: remove socket activation
2018-11-29 00:50:01 +09:00
Brandon Black
dacbd5a61a
nixos/ntp: use upstream default restrictions to avoid DDoS ( #50762 )
...
Fixes #50732
2018-11-28 10:15:25 +00:00
Domen Kožar
d04fedd715
postgresql: Enable systemd integration for 9.6+
...
This allows, finally, proper detection when postgresql is ready to
accept connections. Until now, it was possible that services depending
on postgresql would fail in a race condition trying to connect
to postgresql.
2018-11-27 19:16:21 +00:00
Jean-Philippe Braun
cdacdc0686
nixos/kubernetes: allow to disable clusterCidr
...
Fix option type and set --allocate-node-cidr to false if no clusterCidr
is defined.
2018-11-26 16:36:30 +01:00
fishyfriend
b34b39cab4
nixos/urxvtd: remove socket activation
...
This fixes #23193 . urxvtd is not presently compatible with socket activation.
2018-11-25 15:25:19 -05:00
Silvan Mosberger
b5f4f228d6
Merge pull request #51012 from griff/rspamd-proxy-type
...
nixos/rspamd: Allow worker type to be proxy again
2018-11-25 21:07:42 +01:00
Renaud
6a5fff3741
Merge pull request #51001 from c0bw3b/cleanup/more-https
...
Treewide: use more HTTPS-enabled sources
2018-11-25 16:22:34 +01:00
Brian Olsen
0d753af661
nixos/rspamd: Allow worker type to be proxy again
...
When reworking the rspamd workers I disallowed `proxy` as a type and
instead used `rspamd_proxy` which is the correct name for that worker
type. That change breaks peoples existing config and so I have made this
commit which allows `proxy` as a worker type again but makes it behave
as `rspamd_proxy` and prints a warning if you use it.
2018-11-25 16:03:34 +01:00
Franz Pletz
c1d760f0bf
Merge pull request #50469 from mguentner/mxisd
...
mxisd: init at 1.2.0 plus service with test
2018-11-25 13:26:05 +00:00
Maximilian Güntner
efae5d43ef
modules: add mxisd with test
2018-11-25 14:24:10 +01:00
Craig Younkins
eff461c8ef
treewide: systemd timeout arguments to use infinity instead of 0 ( #50934 )
...
Fixes https://github.com/NixOS/nixpkgs/issues/49700
2018-11-25 13:33:22 +01:00
c0bw3b
5e4ceba7bf
nixos/mediawiki: fetch over https
2018-11-24 23:18:26 +01:00
c0bw3b
c615b0504b
nixos/flashpolicyd: fix url and use https
2018-11-24 23:13:09 +01:00
c0bw3b
434eab9955
nixos/systemhealth: fix url and use https
2018-11-24 23:07:30 +01:00
Joachim F
e426613174
Merge pull request #50950 from jonasnick/nixos-tor-hiddenservice-version
...
nixos/tor: add HiddenServiceVersion option
2018-11-24 12:41:37 +00:00
Michael Raskin
5e159d463b
Merge pull request #49228 from Ekleog/rss2email-module
...
rss2email module: init
2018-11-23 22:30:29 +00:00
Jonas Nick
5640aa2814
nixos/tor: add HiddenServiceVersion option
2018-11-23 20:53:02 +00:00
Andreas Rammhold
51c3082119
nixos/prometheus: require one alertmanager configuration parameter
...
This commit adds an assertion that checks that either `configFile` or
`configuration` is configured for alertmanager. The alertmanager config
can not be an empty attributeset. The check executed with `amtool` fails
before the service even has the chance to start. We should probably not
allow a broken alertmanager configuration anyway.
This also introduces a test for alertmanager configuration that piggy
backs on the existing prometheus tests.
2018-11-23 19:45:17 +01:00
Andreas Rammhold
b1032db5a9
nixos/prometheus: check alertmanager configuration
2018-11-23 19:45:17 +01:00
Andreas Rammhold
d1ef00ebee
nixos/prometheus: add package
option to alertmanager
2018-11-23 19:45:17 +01:00
Jörg Thalheim
d3aeed389c
Merge pull request #50641 from blaxill/firewallMerge
...
nixos/firewall: Always use global firewall.allowed rules
2018-11-23 11:42:16 +00:00
Ben Blaxill
308ab4ea25
Rename back to default and better release notes
2018-11-22 19:24:23 -05:00
Jörg Thalheim
769735d8a1
netdata: create missing /etc/netdata
...
Since netdata 1.11.0 updated in https://github.com/NixOS/nixpkgs/pull/50459
it needs to have a /etc/netdata directory, which we did not create by default.
fixes #50893
2018-11-21 23:00:04 +00:00
Matthew Bauer
75999d4e38
Merge pull request #41887 from gmarmstrong/fix/seahorse-update
...
nixos/seahorse: require gnome3.dconf
2018-11-21 15:15:32 -06:00
Ben Blaxill
32779b4c74
Refactor out the set operations
2018-11-20 21:29:33 -05:00
Samuel Dionne-Riel
a041dc8ab7
Merge pull request #50499 from delroth/syncthing-relay
...
syncthing-relay module: init
2018-11-20 01:40:23 +00:00
Linus Heckemann
388d36951c
Merge pull request #49735 from pvgoran/mysql-support-mysql57
...
nixos/mysql: support package=mysql57
2018-11-19 20:49:08 +01:00
Ben Blaxill
551d2f7ed2
nixos/firewall: Always use global firewall.allowed rules
...
Apply global firewall.allowed* rules separately from the
interface specific rules.
2018-11-18 22:50:01 -05:00
Pierre Bourdon
08f24cadaa
syncthing-relay module: init
2018-11-19 01:09:54 +01:00
Renaud
7f84561cc3
Merge pull request #49631 from janikrabe/master
...
oidentd: 2.2.2 -> 2.3.1
2018-11-19 00:31:02 +01:00
Benno Fünfstück
773e8d07bc
nixos/accountsservice: set XDG_DATA_DIRS correctly
2018-11-18 17:16:24 +01:00
Pavel Goran
21e9c35f5f
nixos/mysql: support package=mysql57
2018-11-18 12:25:36 +07:00
Jörg Thalheim
31d2593ced
netdata: fix python plugins
...
fixes #33366
2018-11-17 15:38:15 +00:00
Jörg Thalheim
dfd77bc26f
Merge pull request #50459 from marsam/feature/netdata-darwin
...
netdata: 1.10.0 -> 1.11.0
2018-11-17 15:01:06 +00:00
Samuel Dionne-Riel
07eaaf6c8b
Merge pull request #49838 from dasJ/mysql-datadir
...
nixos/mysql: Explicitly set datadir in my.cnf
2018-11-16 19:21:01 +00:00
Jörg Thalheim
348b7b8be9
nixos/netdata: own plugins must the looked up first
...
Otherwise netdata will not find python modules.
To make sure netdata still pick up our setuid version of apps.plugin
we rename the original executable.
2018-11-16 11:24:27 -05:00
Eelco Dolstra
5835b2796e
Merge pull request #50440 from Mic92/nix-cores
...
nixos/nix-daemon: default to build with all cores available
2018-11-16 09:13:44 +01:00
Jörg Thalheim
ced57f7888
nixos/nix-daemon: default to build with all cores available
...
These days build systems are more robust w.r.t. to concurrency.
Most users will have at least two cores in their machines.
Therefore I suggest to increase the number of cores used for building.
fixes #50376
2018-11-16 02:05:30 +00:00
Ryan Mulligan
23dfa4e073
nixos/mysql: fix ensureUsers example formatting
...
closes #50441
2018-11-15 17:46:09 -08:00
Rafael García Gallego
8bf4fe85f1
selfoss (service): fix port in service config ( #50411 )
2018-11-15 19:22:20 +00:00
Léo Gaspard
0483ce0eee
rss2email module: init
...
Also adding `system-sendmail` package for sharing the code with other
modules or packages needing it.
2018-11-15 23:44:16 +09:00