Sarah Brofeldt
25abc29f47
Merge pull request #39473 from xeji/update-keymap-test
...
nixos/tests/keymap: wait for xdotool to succeed
2018-04-25 11:17:53 +02:00
xeji
6891bda370
nixos/tests/keymap: wait for xdotool to succeed
...
xdotool failed in rare cases when a window was already created
but not yet decorated by the window manager.
also prevent a (never observed but possible) race condition
2018-04-25 10:16:52 +02:00
Austin Seipp
e4e8562806
nixos: typofixes/tab deletion in some foundationdb docs/module
...
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-25 00:05:18 -05:00
Peter Hoeg
45f1205bab
Merge pull request #39304 from peterhoeg/f/ha
...
home-assistant: add a few knobs and make config YAML
2018-04-25 01:35:12 +00:00
Jan Malakhovski
2460063575
nixos: installer: cleanup a bit
2018-04-25 00:55:22 +00:00
Léo Gaspard
e199143f11
matterbridge module: add configPath option as a workaround, waiting for nix encryption
2018-04-25 01:37:37 +02:00
Felix Dietze
2ac306c91c
nixos manual: Fix typo in Syntax Summary
2018-04-24 21:57:51 +02:00
Robert Schütz
e4a6e320bb
home-assistant: simplify definition of configFile
2018-04-24 20:49:16 +02:00
Matthew Justin Bauer
1b0a7bfe38
Merge pull request #31833 from pngwjpgh/feat/acme/delay
...
nixos/acme: Allow for time window between cert issue and activation
2018-04-24 10:06:02 -05:00
Sarah Brofeldt
65abd2e63f
Merge pull request #39400 from xeji/improve-keymap-tests
...
nixos/tests/keymap: improve keymap tests
2018-04-24 11:49:53 +02:00
xeji
84a6e18947
nixos/tests/keymap: improve keymap tests
...
simplify tests, prevent timeouts and non-deterministic failures
2018-04-24 11:13:48 +02:00
Michael Raskin
6048470df1
Merge pull request #39342 from samueldr/fix/nixos-enter-efivarfs
...
nixos-enter: Ensures presence of full /sys tree. (for efivarfs)
2018-04-23 21:42:12 +00:00
gnidorah
ce8f347ca8
nixos/hans, nixos/iodine: fix passwordFile attribute
2018-04-23 23:40:47 +03:00
Austin Seipp
18f28a6413
nixos: add foundationdb module, documentation
...
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-23 12:13:09 -05:00
Matthew Justin Bauer
14e66c1659
Merge pull request #36734 from gnidorah/hans
...
nixos/hans: init
2018-04-23 11:42:09 -05:00
Jan Malakhovski
fbd4563b53
nixos: documentation: implement documentation.dev.enable
option
...
I know that "devinfo" output does not currently exist, but so does "devman".
It is mentioned in the nixpkgs manual, but no derivation in nixpkgs actually uses it.
2018-04-23 15:08:58 +02:00
Jan Malakhovski
483815a743
nixos: documentation: move some code around, make docstrings more informative
2018-04-23 15:08:58 +02:00
adisbladis
dd486e64e5
Merge pull request #39322 from elitak/trezor
...
trezord: Added Trezor Model-T (v2) udev rules
2018-04-23 18:14:20 +08:00
Peter Hoeg
b886faa6b6
home-assistant: use remarshal to convert configuration to YAML
...
HA doesn't mind the configuration being JSON instead of YAML but since YAML is
the official language, use that as it allows users to easily exchange config
data with other parties in the community.
2018-04-23 16:53:13 +08:00
Peter Hoeg
4cd88807d8
home-assistant: make port configurable so we can use it elsewhere
...
Additionally, some settings based on NixOS configuation is set via defaultConfig
which is then merged with the user provided configration.
For now that just means http port and time zone but others can easily be added.
2018-04-23 16:53:12 +08:00
Jörg Thalheim
54bcf06084
Merge pull request #39155 from NixOS/zramSwap-one-dev
...
zramSwap: default to 1 device
2018-04-23 08:44:16 +01:00
Samuel Dionne-Riel
14cab1ac57
nixos-enter: Ensures presence of full /sys tree.
...
This partially reverts a change from e88f28965a
which removed the `mount --rbind /sys`.
While true that the activation scripts will mount `sysfs` at `/sys`,
none of the mountpoints lower in the `/sys` tree are handled by the
activation script, which includes `efivarfs`.
This fixes #38477 since it ensures the presence of `efivarfs` in the
`/sys` tree, which is why the systemd-boot installation failed.
2018-04-22 16:02:57 -04:00
Tuomas Tynkkynen
6a819c8f8c
nixos/iso-image.nix: Fix typo
2018-04-22 22:12:17 +03:00
xeji
236703f9f3
nixos/systemd-networkd: wait for udev to settle
...
... to avoid race condition between udevd renaming and
networkd configuring interfaces (39069)
2018-04-22 21:02:57 +02:00
Nikolay Amiantov
7c90a86770
wireguard service: use scripts instead of ExecStarts/Stops
...
This is more in line with what other services do; also looks cleaner.
It changes configuration entries for pre-and post-hooks type to lines from
lists of strings which are more logical for them; coersion is provided for
backwards compatibility.
Finally, add several steps to improve robustness:
1. Load kernel module on start if not loaded;
2. Don't remove wireguard interface on start; it is removed on service stop. If
it's not something is wrong.
2018-04-22 13:33:11 -05:00
Joachim F
f442bfc02a
Merge pull request #39048 from oxij/nixos/fix-rename-bugs
...
nixos: fix rename.nix bugs
2018-04-22 17:46:09 +00:00
Bastian Köcher
6ed495cf13
raspberrypi-bootloader: Adds firmwareConfig
config option
...
The `firmwareConfig` option will be appended to `/boot/config.txt`.
2018-04-22 18:27:17 +03:00
Bastian Köcher
8bc970bbc7
raspberrypi-bootloader: Adds support for using uboot
...
Uboot is copied into `/boot` in the installation process.
The boot entries are created by calling the `generic-extlinux-compatible` builder.
2018-04-22 18:27:17 +03:00
Jörg Thalheim
fecda3498b
Merge pull request #27117 from cjxgm/fix-nspawn-missing-suffix
...
systemd.nspawn: fix missing suffix
2018-04-22 15:21:07 +01:00
Eric Litak
4bf61fa67a
trezord: Added Trezor Model-T (v2) udev rules
2018-04-21 22:04:47 -07:00
Matthew Justin Bauer
e4717c902f
Merge pull request #27958 from LumiGuide/strongswan-swanctl
...
nixos: add the strongswan-swanctl service
2018-04-21 15:47:39 -05:00
Gregor Kleen
79eebad055
Fix incorrect merge
2018-04-21 22:34:39 +02:00
Gregor Kleen
e11cb1d2a9
Merge branch 'master' of github.com:NixOS/nixpkgs into feat/acme/delay
2018-04-21 22:34:01 +02:00
Matthew Justin Bauer
29dc27c5a3
Merge pull request #30908 from kierdavis/boinc-fhs
...
boinc service: use an FHS environment (CI now passing)
2018-04-21 15:25:58 -05:00
Matthew Justin Bauer
1eea73eaa8
Merge branch 'master' into feat/acme/delay
2018-04-21 14:53:23 -05:00
Matthew Justin Bauer
7a516cd0c3
Merge branch 'master' into feat/nsd/dnssec
2018-04-21 14:48:30 -05:00
Matthew Justin Bauer
aeff4242db
Merge pull request #31969 from Assassinkin/master
...
Update sssd integration with pam as documented by RedHat
2018-04-21 14:36:47 -05:00
Jörg Thalheim
dc0653f54f
Merge pull request #38816 from Ekleog/dovecot-lda-test
...
dovecot module: test dovecot's LDA
2018-04-21 19:55:23 +01:00
Jörg Thalheim
862f5b0b34
Merge pull request #35541 from xeji/containers-extraflags
...
nixos/containers: add extraFlags option
2018-04-21 14:16:49 +01:00
Jörg Thalheim
a3e197a222
Merge pull request #39300 from erikarvstedt/openvpn-no-timestamps
...
openvpn: remove redundant timestamps from log output
2018-04-21 13:18:48 +01:00
Erik Arvstedt
683eeab299
openvpn: remove redundant timestamps from log output
...
The systemd journal is already logging and showing timestamps
2018-04-21 14:17:22 +02:00
Jörg Thalheim
bf6998bdfa
Merge pull request #39297 from xeji/tests/gnome3-gdm
...
nixos/tests/gnome3-gdm: fix broken test
2018-04-21 11:40:52 +01:00
Lassulus
6db2057f00
nixos/restic: init ( #38948 )
2018-04-21 11:12:43 +01:00
xeji
4c14202bd1
nixos/tests/gnome3-gdm: fix broken test
...
test always failed due to multiple bugs
2018-04-21 12:09:30 +02:00
Peter Hoeg
e10718f0ff
Merge pull request #39232 from Infinisil/sshd-options
...
nixos/sshd: add options for kexAlgorithms, ciphers and MACs
2018-04-21 04:45:18 +00:00
Matthew Justin Bauer
6b11a5ff13
Merge pull request #38979 from xeji/tests-systemd
...
nixos/tests/systemd: fix broken test
2018-04-20 18:04:12 -05:00
Eelco Dolstra
03b36522e7
nix: 2.0 -> 2.0.1
2018-04-20 23:37:18 +02:00
Daiderd Jordan
58fd592019
Merge pull request #38356 from Infinisil/fix/environment
...
nixos/systemd: Fix environment type -> allows overriding
2018-04-20 22:22:05 +02:00
Wout Mertens
77a1993b46
Merge pull request #38918 from gnidorah/gitweb
...
nixos/gitweb: add gitwebTheme option
2018-04-20 21:32:34 +02:00
Franz Pletz
d65a6cc6c9
Merge pull request #39165 from WilliButz/update-postfix-exporter
...
prometheus-postfix-exporter: 2017-06-01 -> 0.1.1, update module
2018-04-20 18:26:50 +00:00
Silvan Mosberger
ee3fd4ad53
nixos/sshd: add options for kexAlgorithms, ciphers and MACs
2018-04-20 19:05:19 +02:00
Daniel Peebles
ec569fc482
Merge pull request #39164 from ngortheone/master
...
Fix root volume resizing on EC2 KVM instances (M5, C5, etc)
2018-04-20 09:04:38 -04:00
aszlig
a9cd8ef23e
nixos/tests/containers-imperative: Fix eval
...
The commit c6f7d43678
changed the system
attribute to be below config.nixpkgs.localSystem, but the test still
uses the old attribute.
I have not tested whether the test actually succeeds but just checked
whether evaluation works and it evaluates successfully now.
Signed-off-by: aszlig <aszlig@nix.build>
2018-04-20 12:25:04 +02:00
John Ericson
53686e8995
Merge pull request #38485 from obsidiansystems/nixos-nixpkgs-options
...
nixpkgs module: Clean up platform options
2018-04-19 14:59:58 -04:00
WilliButz
c3d46165db
nixos/prometheus-postfix-exporter: update module
2018-04-19 19:47:13 +02:00
Ihor Antonov
3a47c7e8f6
growPartition: fix volume resizing on EC2 NVME instances
...
The previous code for this accidentally picked up a "p" when computing the partition number.
This logic should be more robust
2018-04-19 13:36:03 -04:00
Wout Mertens
8e3a14549f
zramSwap: remove mentions of old kernels
2018-04-19 16:53:40 +02:00
Wout Mertens
dd5e2a08fb
zramSwap: default to 1 device
...
One device per cpu is only needed for kernel 3.14
2018-04-19 16:44:08 +02:00
Peter Hoeg
740bafa9a0
Merge pull request #36864 from peterhoeg/f/ddclient
...
nixos ddclient: support multiple domains and run via systemd timer [WIP]
2018-04-19 05:12:29 +00:00
Matthew Justin Bauer
8fb93be481
Merge pull request #38705 from tokudan/murmur_tmpfix
...
murmur: fix /tmp usage
2018-04-18 22:12:29 -05:00
WilliButz
01af301443
prometheus-exporters: add dovecot exporter module
2018-04-19 00:35:27 +02:00
Robert Schütz
5bd12c694b
nixos/tor: use RuntimeDirectory, StateDirectory ( #39083 )
2018-04-18 09:42:45 +02:00
Bas van Dijk
ae94825b4a
elasticsearch6: fix startup due to missing jvm.options
2018-04-18 00:38:48 +02:00
Jörg Thalheim
6bd83e624c
Merge pull request #39072 from jbgi/azure-agent-mount-resource-option
...
Azure agent mount resource option + bash to path
2018-04-17 21:12:36 +01:00
Jörg Thalheim
a2ce342bf1
Merge pull request #39074 from jbgi/jira-updates
...
atlassian-jira: 7.7.0 -> 7.9 and add bash to service path
2018-04-17 19:51:54 +01:00
gnidorah
9029ed933c
nixos/gitweb: add gitwebTheme option
2018-04-17 20:07:01 +03:00
Matthew Justin Bauer
8691bb57d3
Merge pull request #36406 from alesguzik/bluez-midi
...
Bluetooth MIDI support
2018-04-17 10:54:23 -05:00
Matthew Justin Bauer
ef7f1c5e03
Merge pull request #36440 from dywedir/iwd
...
iwd: 2017-12-14 -> 0.1
2018-04-17 10:53:37 -05:00
Matthew Justin Bauer
4fe1c9e35f
Merge pull request #37388 from acowley/mlocate-updatedb
...
update-locatedb: fix update-locatedb service for mlocate
2018-04-17 10:42:20 -05:00
Matthew Justin Bauer
9e01411a7c
Merge pull request #37515 from MHOOO/patch-2
...
Fix permission on working directory
2018-04-17 10:40:49 -05:00
Matthew Justin Bauer
1a1f26ab3f
Merge pull request #37786 from woffs/fixing-quagga
...
quagga service: fix service and re-enable test
2018-04-17 10:12:11 -05:00
Matthew Justin Bauer
12ce909ac9
Merge pull request #38303 from LumiGuide/fix-pgmanage-sql_root
...
pgmanage: the data_root option is renamed to sql_root
2018-04-17 10:08:15 -05:00
Jean-Baptiste Giraudeau
15e44477b3
Add bash to jira PATH: required by health checks.
2018-04-17 16:44:04 +02:00
Jean-Baptiste Giraudeau
28e352cff8
azure-agent: add bash to service path.
...
as is often required by linux extensions.
2018-04-17 16:26:04 +02:00
Jean-Baptiste Giraudeau
1d971b7a9f
azure-agent: add option to control auto mount
...
of resource disk.
2018-04-17 16:04:04 +02:00
Graham Christensen
f4ff297cd5
Merge pull request #39031 from teto/loglevel
...
kernel: fix boot.consoleLogLevel description
2018-04-17 08:51:14 -04:00
Graham Christensen
1f4cf80639
Merge pull request #39066 from ckauhaus/submit/38674-installdocs-mkfs
...
Clarify installation steps w.r.t. disk partitions
2018-04-17 08:49:41 -04:00
Christian Kauhaus
bca80d67a0
Clarify installation steps w.r.t. disk partitions
...
- mkfs.fat needs `-n` to set a partition label, not `-L`.
- create /mnt/boot before mounting
- leave out detailed LVM example as advanced users already how to create
LVs while it is detracting for novices.
Re #38674
2018-04-17 14:29:07 +02:00
Nikolay Amiantov
4fc0b4edca
acme service: generate a CA for self-signed certificate
...
This is needed because simp_le expects two certificates in fullchain.pem, leading to error:
> Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1.
We now create a CA and sign the key with it instead, providing correct fullchain.pem.
Also cleanup service a bit -- use PATH and a private temporary directory (which
is more suitable).
2018-04-17 12:53:29 +03:00
Gabriel Ebner
d91caac6c3
services.tt-rss: do not unnecessarily start nginx
2018-04-17 11:44:52 +02:00
Nikolay Amiantov
b81aa02800
firewall service: run stop commands in reload
...
Do cleanup of user-created additional rules.
Of course it'd be much better to just use iptables-{save,restore} for
declarative management, but as it's still not there...
2018-04-17 12:41:36 +03:00
Jan Malakhovski
b57a6e9a5f
nixos: rename.nix: fix bugs
...
Introduced in 286b007bd3
and then
in 2e6b796761
.
This a proper fix for what 70c6f6572d
tried to do.
Removing the "config" prefix triggers the bug on pure nixos too, not only
on nixops.
2018-04-17 09:05:21 +00:00
Jan Malakhovski
4018d44641
Revert "nixos/version: fix nixops pre 1.6 compatibility"
...
This reverts commit 70c6f6572d
.
2018-04-17 09:05:20 +00:00
Matthieu Coudron
9f7eabcc21
kernel: fix boot.consoleLogLevel description
...
The current description describes the opposite influence of the setting
https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
2018-04-17 10:45:30 +09:00
Reuben D'Netto
7292c5a570
Fixed indentation
2018-04-17 09:19:55 +10:00
Joachim F
4881002e10
Merge pull request #38982 from das-g/patch-2
...
nixos manual: add missing space after "copytoram"
2018-04-16 20:52:16 +00:00
Tuomas Tynkkynen
333a24a628
nixos/release.nix: Add SD images for ARMv6 + ARMv7
...
These don't have affect the default Hydra setup (you need to pass
the relevant system in the supportedSystem list) but let's add it for
completeness and convenience.
2018-04-16 20:39:51 +03:00
Tuomas Tynkkynen
bd77849b2f
nixos/installer/channel: Add some files that the channel also has
...
Nothing probably uses this, but let's be pedantic and have the
pre-included channel on the install media be as close as possible to
what 'nix-channel --update' will give them.
The only remaining difference is that the channel adds programs.sqlite,
which is fundamentally unfixable.
2018-04-16 20:39:51 +03:00
Yorick van Pelt
a037cbd46b
oauth2_proxy: add keyFile, make some options optional
2018-04-16 14:06:22 +02:00
adisbladis
247c97b699
Merge pull request #35896 from wucke13/master
...
Solving #30396
2018-04-16 20:04:52 +08:00
Yorick van Pelt
b901c40a8e
oauth2_proxy: update module for extraConfig support
2018-04-16 13:10:31 +02:00
Raphael Das Gupta
368947a3a5
nixos manual: add missing space after "copytoram"
2018-04-16 01:14:23 +02:00
xeji
9d5af5871d
nixos/test/systemd: fix broken test
...
timing bug resulted in sporadic test failures on hydra
2018-04-16 00:43:33 +02:00
Peter Hoeg
642c8a8d8d
nixos ddclient: support multiple domains and run via systemd timer
...
a) Some providers can update multiple domains - support that.
b) Make "zone" and "script" configurable. Some providers require these.
c) Instead of leaving the ddclient daemon running all the time, use a systemd
timer to kick it off.
d) Don't use a predefined user - run everything via DynamicUser
e) Add documentation
2018-04-15 10:17:46 +08:00
Jörg Thalheim
02dfbab3be
nixos/pulseaudio: pulseaudio.enable should imply sound.enable
...
cc @fpletz
2018-04-14 19:12:47 +01:00
Jörg Thalheim
eeb27ae6ab
Merge pull request #38929 from Mic92/lxd
...
lxd: 2.16 -> 3.0.0; fixes build
2018-04-14 17:50:53 +01:00
Daiderd Jordan
d538fc06e2
docker-tools: add a test for permissions issues with AUFS/overlay
...
docker# [ 11.054736] d24d6cdd57c9[763]: /bin/bash: error while loading
shared libraries: libreadline.so.7: cannot open shared object file:
Permission denied
docker# /bin/bash: error while loading shared libraries:
libreadline.so.7: cannot open shared object file: Permission denied
docker: exit status 127
docker: output:
error: command `docker run --rm -u 1000:1000 bash /bin/bash --version'
did not succeed (exit code 127)
command `docker run --rm -u 1000:1000 bash /bin/bash --version' did not
succeed (exit code 127)
2018-04-14 14:11:14 +02:00
Jörg Thalheim
7663de114a
lxd: 2.16 -> 3.0.0
2018-04-14 11:02:24 +01:00
Ricardo M. Correia
0f3a628400
nixos/transmission: fix AppArmor profile to include libkrb5
2018-04-13 20:53:34 +02:00
Bjørn Forsman
80b6513fbf
nixos: enable bash command completion by default
...
Because it improves out-of-the-box user experience a lot (IMHO).
(zsh completion is already on by default.)
Remove "programs.bash.enableCompletion = true" from
nixos-generate-config.pl, which feels superflous now.
2018-04-13 18:36:51 +02:00
Tim Steinbach
0625f77256
Fix kernel-copperhead test
2018-04-13 09:02:26 -04:00
Nikolay Amiantov
803dca34bb
Merge pull request #38896 from abbradar/shadowsocks
...
Update shadowsocks-libuv and add shadowsocks service
2018-04-13 15:55:55 +03:00
Nikolay Amiantov
dccd5a8601
dnscache service: cleanup and add forwardOnly
2018-04-13 15:38:13 +03:00
Nikolay Amiantov
98270cb959
dnscache service: fix bug with several assigned DNS servers
2018-04-13 15:35:03 +03:00
Nikolay Amiantov
f7651b35b8
shadowsocks service: init
2018-04-13 13:39:21 +03:00
Jörg Thalheim
0cb8413b02
Merge pull request #38885 from lopsided98/grafana-unix-socket
...
grafana: support socket protocol
2018-04-13 11:14:02 +01:00
Robert Schütz
3ea1f1dd8b
Merge pull request #38820 from brainrape/nixos-prosody-add-user-group
...
nixos/prosody: add user/group options, fix pidfile path
2018-04-13 11:55:10 +02:00
Márton Boros
ec1419bad8
nixos/prosody: fix pidfile path
2018-04-13 11:38:52 +02:00
Márton Boros
d260e95cb9
nixos/prosody: add user, group options
2018-04-13 11:38:29 +02:00
Florian Klink
fe840cd333
deluge: add test
2018-04-13 10:30:22 +02:00
Florian Klink
8fccc7e1df
deluge: use mkEnableOption
2018-04-13 10:07:09 +02:00
Ben Wolsieffer
ed6f1761cc
grafana: support socket protocol
2018-04-12 22:49:15 -04:00
xeji
a82aae3084
nixos/containers: add extraFlags option
...
to pass extra flags to systemd-nspawn
2018-04-12 23:29:20 +02:00
adisbladis
fbcbac6769
Merge pull request #38704 from roconnor-blockstream/trezor
...
trezord: 1.2.1 -> 2.0.12
2018-04-12 23:10:24 +08:00
volth
49ed1229b6
exfat-utils, fuse_exfat -> exfat
...
`exfat-utils' and `fuse_exfat' are both aliases of `exfat'
2018-04-12 11:23:52 +00:00
Reuben D'Netto
42a84598fb
Added cross-references to NixOS manual
2018-04-12 09:39:14 +10:00
Léo Gaspard
4fddb8b9c3
dovecot module: test dovecot's LDA
...
That's apparently not enough to catch the bug I ran into with the update
to 2.3.1, but at least it will check the LDA appears to work.
2018-04-12 01:35:14 +02:00
Austin Seipp
7413eb8b49
nixos/postgresql: remove ancient hack for postgres 8.4
...
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-04-11 12:25:11 -05:00
Yegor Timoshenko
9a9c38eee8
Merge pull request #38773 from bandresen/zfsAutoSnapshot
...
zfs.autoSnapshot: make `frequent` run every 15 mins
2018-04-11 14:58:51 +00:00
Benjamin Andresen
96f10e7e49
zfs.autoSnapshot: make frequent
run every 15 mins
...
fixes bug that there is 30 minutes between hh:45 and hh:15 every hour.
2018-04-11 16:45:00 +02:00
Russell O'Connor
a60e17438e
trezord: 1.2.1 -> 2.0.12
...
The old trezord is obsolete and no longer functions with Trezor's password manager app.
2018-04-11 09:53:15 -04:00
Frederik Rietdijk
ee6894ca12
Merge staging into master
2018-04-11 14:55:52 +02:00
Daniel Frank
e0de2d7ae6
murmur: fix /tmp usage
2018-04-10 20:27:59 +02:00
BjornMelgaard
46c270c5a6
safeeyes: restart only on failure
2018-04-10 21:19:13 +03:00
BjornMelgaard
2f4a220130
safeeyes: add module
2018-04-10 21:19:13 +03:00
Frederik Rietdijk
6023849ba1
Merge master into staging
2018-04-10 19:23:42 +02:00
Jörg Thalheim
d8647f96bd
Merge pull request #38643 from brainrape/prosody-add-dataDir
...
nixos/prosody: add dataDir option
2018-04-10 09:08:50 +01:00
Robert Schütz
80fc5f2a24
Merge branch 'master' into staging
2018-04-10 09:13:36 +02:00
Tuomas Tynkkynen
487be791d7
nixos/make-ext4-fs: Use closureInfo
...
exportReferencesGraph is deprecated and doesn't have the generated
initial Nix database contain the SHA256 of the contents of the store
paths, which breaks various things under Nix 2.0.
2018-04-10 00:31:36 +03:00
Matthew Justin Bauer
07886aaf5a
Merge pull request #33794 from yrashk/onlykey
...
config.hardware.onlykey configuration option
2018-04-09 14:29:31 -05:00
Frederik Rietdijk
0aa59a08d6
Merge master into staging
2018-04-09 15:12:32 +02:00
Márton Boros
615fefb3a5
nixos/prosody: add dataDir option
2018-04-09 14:19:42 +02:00
Michael Raskin
c78c764547
nixos/tests.chromium: actually notice the tab crash
...
Argh, debugging NixOS tests takes forever…
(cherry picked from commit 1afb6e790a6a28a4fc5f310a2b0e5e012eb416fd)
2018-04-09 13:21:53 +02:00
Jörg Thalheim
41ec2c2223
Merge pull request #38362 from orbekk/acme-path
...
fix: nixos/nginx certificate location
2018-04-09 09:02:51 +01:00
Jörg Thalheim
c757928697
Merge pull request #38513 from Ma27/clementine-license-fixes
...
clementine: provide free derivation by default
2018-04-09 08:59:19 +01:00
Jörg Thalheim
e8cfda7f13
lxc: enable pam_cgfs and fix module
...
pam_cgfs was part in lxcfs before and moved here
fixes #37985
2018-04-09 08:15:00 +01:00
Jörg Thalheim
53611a9b6c
Merge pull request #38629 from ivanbrennan/less-configFile
...
nixos/less: add configFile option
2018-04-09 07:03:29 +01:00
Matthew Justin Bauer
1381606b8e
Merge pull request #38533 from nyanloutre/duplicati-package
...
duplicati: init at 2.0.3.3
2018-04-08 21:49:48 -05:00
ivanbrennan
6e4096d792
nixos/less: add configFile option
...
Expose the path to a lesskey file as a module option. This makes it
possible to maintain a single lesskey file, used for both NixOS and
non-nix systems. An example of how this can be done follows.
1. Write a derivation that fetches lesskey from a known location:
{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "foo";
src = fetchgit { .. };
phases = [ "unpackPhase" "installPhase" ];
installPhase = "mkdir -p $out && cp $src/lesskey $out/lesskey";
}
2. Set programs.less.configFile to the corresponding path:
programs.less = {
enable = true;
configFile = "${pkgs.foo}/lesskey";
};
2018-04-08 22:37:35 -04:00
Matthew Justin Bauer
9c66871784
Merge pull request #38094 from volth/patch-120
...
nixos/network-scripted: print error details
2018-04-08 21:27:38 -05:00
obadz
f3657a05d8
minidlna nixos module: add loglevel config
2018-04-09 00:16:06 +01:00
Jörg Thalheim
6fd1520e45
Merge pull request #38547 from Ma27/iftop-module
...
nixos/iftop: add module
2018-04-08 14:05:20 +01:00
aszlig
99ba1cb424
Increase max group name length to 32 characters
...
With #36556 , a check was introduced to make sure the user and group
names do not exceed their respective maximum length. This is in part
because systemd also enforces that length, but only at runtime.
So in general it's a good idea to catch as much as we can during
evaluation time, however the maximum length of the group name was set to
16 characters according groupadd(8).
The maximum length of the group names however is a compile-time option
and even systemd allows more than 16 characters. In the mentioned pull
request (#36556 ) there was already a report that this has broken
evaluation for people out there.
I have also checked what other distributions are doing and they set the
length to either 31 characters or 32 characters, the latter being more
common.
Unfortunately there is a difference between the maximum length enforced
by the shadow package and systemd, both for user name lengths and group
name lengths. However, systemd enforces both length to have a maximum of
31 characters and I'm not sure if this is intended or just a off-by-one
error in systemd.
Nevertheless, I choose 32 characters simply to bring it in par with the
maximum user name length.
For the NixOS assertion however, I use a maximum length of 31 to make
sure that nobody accidentally creates services that contain group names
that systemd considers invalid because of a length of 32 characters.
Signed-off-by: aszlig <aszlig@nix.build>
Closes : #38548
Cc: @vcunat, @fpletz, @qknight
2018-04-08 12:51:33 +02:00
Frederik Rietdijk
595a72589f
Merge master into staging
2018-04-08 10:54:17 +02:00
Wout Mertens
fc6ab8dfa7
google-compute-image: provide correct MTU
2018-04-08 08:46:42 +02:00
nyanloutre
b3aa9ecdf8
duplicati: create service
2018-04-07 21:23:04 +02:00
Maximilian Bosch
50a34e55b2
nixos/iftop: add module
...
This patch is heavily inspired by bd0d8ed807
which added
a setcap wrapper for `mtr` in order to allow running `mtr` without
`sudo`. The need for the capability `cap_net_raw` that can be registered using
`setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop
A simple testcase has been added which starts two machines, one with a
setcap wrapper for `iftop`, one without. Both testcases monitor the
bandwidth usage of the machine using the options `-t -s 1` once, the
machine with setcap wrapper is expected to succeed, the `iftop` on the
machine without setcap wrapper is expected to return a non-zero exit
code.
2018-04-07 15:06:51 +02:00
Wout Mertens
d55e830982
Merge pull request #38527 from gnidorah/gitweb
...
nixos/nginx: fix gitweb submodule
2018-04-07 14:39:51 +02:00
Maximilian Bosch
ef5e212d20
clementine: provide free derivation by default
...
The `clementine` package is actually released under Apache license, but
requires the unfree `libspotify` package to build.
Now `nixpkgs.clementine` points to the free derivation and
`nixpkgs.clementineUnfree` has been introduced for the package bundled
with spotify support.
Fixes #38315
2018-04-07 11:35:56 +02:00
gnidorah
073089914e
nixos/nginx: fix gitweb submodule
2018-04-06 22:36:03 +03:00
John Ericson
c6f7d43678
nixpkgs module: Clean up platform options
...
- `localSystem` is added, it strictly supercedes system
- `crossSystem`'s description mentions `localSystem` (and vice versa).
- No more weird special casing I don't even understand
TEMP
2018-04-06 12:41:44 -04:00
Rob Vermaas
b894dd8b82
Update create-gce.sh script. Set default option for GCE images to disable host key replacement by service.
...
(cherry picked from commit 748d96ffa3c51c3127bcdf23a88d54afad6406e9)
2018-04-06 10:57:31 +02:00
Tim Engler
d488a9dc7a
nixos/lxqt: enable upower if config.powerManagement is enabled ( #38318 )
2018-04-06 08:49:55 +01:00
Corey O'Connor
d0d05024d1
nixos/transmission: add basic nixos test
2018-04-05 22:07:49 +02:00
Corey O'Connor
c0de2454bd
nixos/transmission: Refactor out explicit listing of managed directories
2018-04-05 22:07:49 +02:00
Corey O'Connor
9eec034d75
nixos/transmission: refactor preStart into script
2018-04-05 22:07:49 +02:00
Jörg Thalheim
f55a6ab844
Merge pull request #38302 from johannesloetzsch/master
...
mate/mate-screensaver: fixed unixAuth
2018-04-05 21:02:18 +01:00
Frederik Rietdijk
a9f37d1c25
Merge master into staging
2018-04-05 19:25:05 +02:00
Graham Christensen
8f33464ca7
nixos docs: syntax highlight
...
- Rectifies diverging CSS by combining
nixos/nixpkgs docs CSS
- Moves our custom Highlight.js loader in to
the hljs package
- Switches the nixos docs to use SVG
callouts too
2018-04-05 07:54:01 -04:00
Rob Vermaas
ced3a201e3
gce: needs bigger diskSize
...
(cherry picked from commit ac3437aa061e80604d28aa3dd09013417f3193b1)
2018-04-05 12:19:05 +02:00
Rob Vermaas
0164c94a51
ec2-amis.nix: add 18.03 images
...
(cherry picked from commit e5a4fb31bded4b4e6a7952455f97850e2f013002)
2018-04-05 11:58:53 +02:00
Linus Heckemann
0594acc6aa
18.03 release notes: fix typo
2018-04-05 11:01:04 +02:00
Michael Raskin
b07ce1fb74
Merge pull request #38114 from oxij/nixos/doc-module
...
nixos: doc module
2018-04-05 07:09:32 +00:00
Michael Raskin
195521350a
Merge pull request #38111 from oxij/tree/cleanups
...
assorted cleanups
2018-04-05 07:08:05 +00:00
Franz Pletz
20ad4be383
Merge pull request #38405 from volth/patch-121
...
network-interfaces-scripted: wlanInterfaces have .device, …
2018-04-05 04:45:50 +00:00
Charles Strahan
5c066e2bba
Merge pull request #37218 from cstrahan/kube-test-fix
...
nixos: kubernetes fixes
2018-04-04 19:14:48 -04:00
Frederik Rietdijk
23741692fa
Merge master into staging
2018-04-04 19:36:39 +02:00
Tuomas Tynkkynen
bbc80227ab
nixos/tests/openldap: Fix name
2018-04-04 18:26:41 +03:00
Jörg Thalheim
b6ec6fd525
Merge pull request #38431 from volth/patch-122
...
network-interfaces.nix: dead code removal
2018-04-04 15:30:22 +01:00
Joachim Schiele
7be79f22f2
nixos/dhcp: fix permissions of statedir
...
nixos/dhcp: fix permissions of statedir
2018-04-04 16:26:25 +02:00
Graham Christensen
9b30d48b2b
Merge pull request #37288 from cleverca22/improve-make-tarball
...
make-system-tarball: allow alternate compression methods
2018-04-04 10:11:25 -04:00
volth
b9e01e64b7
network-interfaces.nix: dead code removal
...
`wlanDeviceUdevScript` is not used below in the text
2018-04-04 13:45:49 +00:00
Eelco Dolstra
0236a947d0
mkdir -> install -d
...
Fixes #38421 .
2018-04-04 13:04:35 +02:00
Jörg Thalheim
b39afd41db
Merge pull request #38407 from nyanloutre/master
...
transmission: settings doc location changed
2018-04-04 12:04:18 +01:00
Vladimír Čunát
0bee079d97
18.03 release notes: final edits
2018-04-04 08:41:14 +02:00
nyanloutre
172ca5884b
transmission: settings doc location changed
2018-04-03 22:32:36 +02:00
volth
dd9f776509
network-interfaces-scripted: wlanInterfaces have .device, no "${dev}-netdev.service"
2018-04-03 20:00:12 +00:00
Will Dietz
0086036141
Machine.pm: tweak to look for graphical target in waitForX
...
Current message may not be printed
(nothing in systemd contains that string,
it comes from elsewhere)
2018-04-03 13:59:16 -05:00
Michael Bishop
3c9e579d1e
make-system-tarball: allow alternate compression methods
2018-04-03 11:30:43 -03:00
Kjetil Ørbekk
8614e22297
fix: nixos/nginx certificate location
...
Fix issue when using a cert location other than the default.
2018-04-02 20:34:01 -04:00
Tuomas Tynkkynen
747ebe3f66
Merge remote-tracking branch 'upstream/master' into staging
...
Conflicts:
pkgs/top-level/all-packages.nix
2018-04-03 02:22:54 +03:00
Silvan Mosberger
e9fc2558f9
nixos/systemd: Fix environment type -> allows overriding
2018-04-03 00:36:52 +02:00
Tuomas Tynkkynen
1e5cb384d5
nixos/sd-image-*: Raspberry Pi firmware no longer falls under unfree
...
It's just unfreeRedistributableFirmware now.
2018-04-02 23:46:18 +03:00
Nikolay Amiantov
37546be900
nodePackages.parsoid: pin service-runner to 2.3.0
...
service-runner had a backwards incompatible update, and parsoid 0.9.0
doesn't work with current stable MediaWiki. Instead use as a source
a repository with 0.8.0 and pinned service-runner version.
2018-04-02 22:38:40 +03:00
Tuomas Tynkkynen
181e0675da
nixos/release.nix: Add Hydra job for AArch64 SD image
...
Based on how ISO images are added to the release.
2018-04-02 15:18:25 +03:00
Tuomas Tynkkynen
4c21180a13
nixos/sd-image: Make it more similar to iso-image.nix
...
- Add `imageName` and `imageBaseName` options similar to the `isoName`
and `isoBaseName` options
- Make the filename of the iso match what iso-image.nix does
- Generate a nix-support/hydra-build-products like iso-image.nix does
2018-04-02 15:18:25 +03:00
Vladimír Čunát
75e4d3f2f0
nixos.tests.containers-imperative: fix impurity failure
...
I can't claim to fully understand this, but the change seems safe,
and it fixes the test on my machine.
2018-04-02 11:40:46 +02:00
André-Patrick Bubel
26343e3a09
nixos/maintainers/option-usages.nix: Improve spelling and grammar
2018-04-02 01:46:24 +02:00
Franz Pletz
35f474d61d
nixos/unbound: don't fail on root trust anchor updates
...
Exit code on updates is 1 which makes the inital start of unbound fail.
2018-04-01 23:56:42 +02:00
Bas van Dijk
c8eef1d771
pgmanage: the data_root option is renamed to sql_root
2018-04-01 19:16:04 +02:00
Johannes Lötzsch
1ab3736146
mate/mate-screensaver: fixed unixAuth
...
Without this fix, it's not possible to unlock the mate-screensaver.
2018-04-01 19:01:26 +02:00
Jörg Thalheim
0526d015b6
nixos/containers-physical_interfaces: use new bond option interface
2018-03-31 19:01:10 +01:00
Will Dietz
ddd10e0836
nixos testing: significantly reduce deps needed for OCR tests
...
Instead of imagemagick built with many libraries
(notably librsvg which these days requires rust)
use imagemagick_light with support for libtiff added.
2018-03-31 00:24:15 -05:00
Joachim Schiele
1b0cb040d9
user/group assertion to not exceed the 32 character limit
2018-03-30 23:43:23 +02:00
Charles Strahan
709b6f664e
nixos: kubernetes fixes
...
* Fix reference CNI plugins
* The plugins were split out of the upstream cni repo around version
0.6.0
* Fix RBAC and DNS tests
* Fix broken apiVersion fields
* Change plugin linking to look in ${package}/bin rather than
${package.plugins}
* Initial work towards a working e2e test
* Test still fails, but at least the expression evaluates now
Continues @srhb's work in #37199
Fixes #37199
2018-03-30 17:33:45 -04:00
Léo Gaspard
b59570eac0
nixos/gogs: allow git operations over ssh
...
Without `ROOT_PATH` set, `gogs serv` tries to open logs in writing in
its store directory. This blocks cloning or pushing over ssh, and
results in a gogs internal error.
2018-03-30 16:37:36 +02:00
Jan Malakhovski
44b8202cab
nixos: tcpcrypt: /var/run -> /run, don't drop files out of rundir
2018-03-30 06:56:38 +00:00
Jan Malakhovski
02da27de52
nixos: dysnomia: move into services
subtree
2018-03-30 06:56:12 +00:00
Jan Malakhovski
98fd9b7f86
nixos: doc: introduce documentation
config subtree
2018-03-30 06:52:26 +00:00
Jan Malakhovski
302c170e1c
nixos: replace optionals
-> optional
in nsswitch
2018-03-30 06:44:18 +00:00