Attila Lendvai
21c56fc3cf
nixos/doc/manual: In the preface, add link to #chap-contributing
...
Turned the freetext suggestion about opening the build output
into a copy-pastable xdg-open line.
Renamed title to 'Contributing to this manual'.
2021-01-23 18:58:54 -08:00
Sandro
77f32f2f3c
Merge pull request #110628 from prusnak/stdenv-lib
...
treewide: stdenv.lib -> lib
2021-01-24 03:10:32 +01:00
Sandro
51ea855376
Merge pull request #109735 from berberman/fcitx5-mozc
2021-01-24 02:47:37 +01:00
Potato Hatsue
e8ffe04c79
fcitx5: update doc
2021-01-24 02:10:23 +01:00
Pavol Rusnak
90f7338112
treewide: stdenv.lib -> lib
2021-01-24 01:49:49 +01:00
Phillip Cloud
c7c3b9e4ae
nixos/nomad: remove User setting entirely
2021-01-23 19:44:37 -05:00
Phillip Cloud
2a3cb407b0
nixos/nomad: only set User if privileges are dropped
2021-01-23 19:44:37 -05:00
Phillip Cloud
de71f5b506
nixos/tests: add test for custom nomad state directory
2021-01-23 19:44:37 -05:00
Phillip Cloud
5ce4ce6174
nixos/nomad: make formatting consistent in mkMerge call
2021-01-23 19:44:37 -05:00
Phillip Cloud
12b9249cf3
nixos/nomad: unconditionally set user to nomad
2021-01-23 19:44:37 -05:00
Phillip Cloud
5d0b3b7228
nixos/nomad: fix markup and remove suggestion
2021-01-23 19:44:37 -05:00
Phillip Cloud
bddb7ac406
nixos/nomad: fix typo and spell out ExecStartPre usage
2021-01-23 19:44:37 -05:00
Phillip Cloud
b72a46713f
nixos/nomad: reformat SupplementaryGroups expression
2021-01-23 19:44:37 -05:00
Phillip Cloud
b80c454459
nixos/nomad: add mkIf for StateDirectory
2021-01-23 19:44:37 -05:00
Phillip Cloud
58fe45936e
nixos/nomad: move serviceConfig into mkMerge and mkIf for docker SupplementaryGroups
2021-01-23 19:44:37 -05:00
Phillip Cloud
f3aa71b7ec
nixos/nomad: describe the nomad cluster manager responsibilities
2021-01-23 19:44:37 -05:00
Phillip Cloud
3e00482ba8
nixos/nomad: add assertion for the value of dropPrivileges and its relation to data_dir
2021-01-23 19:44:37 -05:00
Phillip Cloud
f1778cd90e
nixos/nomad: add extraSettingsFiles option to nomad service ( #109761 )
2021-01-23 23:52:19 +01:00
markuskowa
2f34b4b883
Merge pull request #108983 from markuskowa/dev-mpi
...
Use mpi attribute consistently to provide a default MPI implementation
2021-01-23 22:51:09 +01:00
John Ericson
12881a7aa7
Merge pull request #110544 from Ericson2314/no-platform
...
top-level, lib: Remove platform attribute of platforms
2021-01-23 16:32:36 -05:00
Phillip Cloud
2861d26df5
nixos/nomad: move data_dir default setting to allow propagation of default
2021-01-23 12:50:01 -05:00
Phillip Cloud
0bbed1c273
nixos/nomad: add newline
2021-01-23 12:50:01 -05:00
Jörg Thalheim
17da58acca
Merge pull request #108242 from GovanifY/grub-additional
...
boot.loader.grub: add extraInstallCommands option
2021-01-23 16:18:22 +00:00
John Ericson
9c213398b3
lib: Clean up how linux and gcc config is specified
...
Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that
commit for details.
This reverts commit 0bc275e634
.
2021-01-23 10:01:28 -05:00
Michael Weiss
237c20ac61
nixos/smokeping: Replace the tabs in cfg.targetConfig
...
This was inconsistent with the rest of the module.
2021-01-23 14:03:16 +01:00
Michael Weiss
87fb5d381f
nixos/smokeping: Add a PoC for using networking.fqdn
2021-01-23 14:03:16 +01:00
Michael Weiss
86897c8f63
nixos/tests/chromium: Fix another potential race condition
...
The create_new_win() function could open multiple windows when used
incorrectly. This change makes sure that a new window will only be
created if the main window could be selected successfully.
This also ignores the out return values as they're never used.
2021-01-23 12:15:56 +01:00
Markus Kowalewski
68fa960f6a
nixos/release-notes: add comment about generic mpi attribute
2021-01-23 12:15:18 +01:00
Stig
c52a11e741
Merge pull request #110389 from tnias/usbguard_test_pr
...
nixos/tests/usbguard: init
2021-01-23 02:50:50 +01:00
Philipp Bartsch
b912846267
nixos/tests/usbguard: init
2021-01-23 01:19:11 +01:00
Jonathan Ringer
0bc275e634
Revert "lib: Clean up how linux and gcc config is specified"
...
This is a stdenv-rebuild, and should not be merged
into master
This reverts commit 8929989614
.
2021-01-22 14:07:06 -08:00
John Ericson
d95aebbe0e
Merge pull request #107214 from Ericson2314/linux-config-cleanup
...
lib: Clean up how linux and gcc config is specified
2021-01-22 15:15:58 -05:00
Kevin Griffin
515d801aee
fish: add babelfish translation option
...
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
the babelfish package.
2021-01-22 09:24:40 -08:00
Fritz Otlinghaus
0a38f6da4f
nixos/tomcat: add extraGroups type ( #110486 )
2021-01-22 16:22:06 +01:00
Anderson Torres
0f31f03f22
Merge pull request #108578 from ctem/feature/chrony
...
nixos/chrony: add support for Network Time Security (NTS) authentication
2021-01-22 09:36:08 -03:00
Florian Klink
ad87ca737d
Merge pull request #110403 from thiagokokada/fix-renamed-option
...
nixos/libinput: add missing renamed module
2021-01-22 12:25:44 +01:00
Fritz Otlinghaus
c1efc32740
nixos/module/jboss: Add types to options ( #110451 )
2021-01-22 11:11:40 +01:00
Fritz Otlinghaus
332a53728c
activemq: add type to configurationDir ( #110450 )
2021-01-22 11:11:05 +01:00
Fritz Otlinghaus
fc0d3f8da8
nixos/crashdump: Add type to option ( #110448 )
2021-01-22 11:10:26 +01:00
Fritz Otlinghaus
800b90ea3f
nixos/bitlbee: Add types to options ( #110446 )
2021-01-22 11:07:29 +01:00
Robert Hensing
bbaff89ceb
Merge pull request #109976 from hercules-ci/systemd-allow-preStart-with-ExecStartPre
...
nixos/systemd: allow preStart with other ExecStartPre cmdlines
2021-01-22 10:18:11 +01:00
John Ericson
8929989614
lib: Clean up how linux and gcc config is specified
...
The `platform` field is pointless nesting: it's just stuff that happens
to be defined together, and that should be an implementation detail.
This instead makes `linux-kernel` and `gcc` top level fields in platform
configs. They join `rustc` there [all are optional], which was put there
and not in `platform` in anticipation of a change like this.
`linux-kernel.arch` in particular also becomes `linuxArch`, to match the
other `*Arch`es.
The next step after is this to combine the *specific* machines from
`lib.systems.platforms` with `lib.systems.examples`, keeping just the
"multiplatform" ones for defaulting.
2021-01-21 22:44:09 -05:00
Thiago Kenji Okada
c6cf9bcf0b
nixos/libinput: add missing renamed module
...
Related PR #108909 .
2021-01-21 19:52:57 -03:00
Guillaume Girol
7ed3d2df76
Merge pull request #103135 from symphorien/pr/92775
...
Evolution ews: wrap evolution and evolution data server, fix nixos module.
2021-01-21 19:42:45 +00:00
Markus Kowalewski
dcae37989f
tests/slurm: update mysql config to use settings
2021-01-21 17:51:28 +01:00
Linus Heckemann
5153deedd8
Merge pull request #108909 from thiagokokada/libinput-by-device-type
...
nixos/libinput: separate settings by mouse/touchpad
2021-01-21 10:43:44 +01:00
Matthew Bauer
da9fc7b068
Merge pull request #108072 from matthewbauer/fix-binfmt-activation
...
nixos/binfmt.nix: fix running commands in binfmt
2021-01-20 16:31:53 -06:00
Kevin Cox
f1d3b04c04
Merge pull request #109966 from thiagokokada/bump-opentabletdriver
...
opentabletdriver: 0.4.2 -> 0.5.0
2021-01-20 16:37:16 -05:00
zowoq
b46b3d928d
nixos/podman: readd rootless runc test
...
use `loginctl enable-linger` to create systemd session
2021-01-21 06:57:51 +10:00
Sandro
ec84cbf95f
Merge pull request #110107 from LeSuisse/cifs-utils-missing-python3-smbinfo
...
cifs-utils: missing python3 dependency for smbinfo
2021-01-20 20:12:37 +01:00
Michael Weiss
88637a1c33
Merge pull request #110198 from primeos/chromium-vm-test
...
nixos/tests/chromium: Add ungoogled-chromium and Google Chrome
2021-01-20 20:00:58 +01:00
Symphorien Gibol
f45f22d519
nixos/evolution: enable gnome-keyring
2021-01-20 19:51:32 +01:00
Lassulus
c3116cdce2
Merge pull request #110122 from helsinki-systems/timeservers-option-type
...
networking, chrony, ntpd, timesyncd: add timeServers option type
2021-01-20 19:36:06 +01:00
Michael Weiss
ff8866e243
nixos/tests/chromium: Add ungoogled-chromium and Google Chrome
...
By default only `chromium` will be tested but other "channels" can be
selected using e.g.:
nix-build nixos/tests/chromium.nix -A ungoogled
This also adds me as secondary maintainer (I'd like to get notified on
PRs/issues and can review them).
2021-01-20 19:20:53 +01:00
Thomas Gerbet
5858d84658
cifs-utils: missing python3 dependency for smbinfo
...
Since cifs-utils 6.12, smbinfo needs Python to be usable.
Issue introduced in 033208fd46
.
2021-01-20 18:39:42 +01:00
Michael Weiss
8a7a8442c1
nixos/tests/chromium: Fix a race condition
...
Only execute Ctrl+w to close the currently active window if the
new/secondary window (title: "New Tab") could be selected. This fixes a
test failure since the update to Chromium M88 (cc PR #110010 ).
Without this additional check the main window (title: "startup done")
could still be selected (and thus will be closed) and the script would
close both windows (i.e. terminate Chromium completely).
2021-01-20 16:57:46 +01:00
Michael Weiss
2053744515
Merge pull request #110010 from primeos/chromium
...
chromium: 87.0.4280.141 -> 88.0.4324.96
2021-01-20 15:41:15 +01:00
Michael Weiss
2dbd08dcbd
release-combined.tested: Temporarily remove the Chromium test
...
Chromium seems to run fine but the VM test fails and prints errors like:
machine # There are no windows in the stack
machine # Invalid window '%1'
machine # Usage: windowfocus [window=%1]
machine # --sync - only exit once the window has focus
This could be due to changes in Chromium's X11 code (or maybe some
changes for Ozone/X11). I'll investigate this but let's temporarily
remove the Chromium test from the tested jobset until I find a proper
solution/fix.
2021-01-20 15:23:55 +01:00
Scriptkiddi
1572940688
networking, chrony, ntpd, timesyncd: add timeServers option type
2021-01-20 10:54:24 +01:00
WORLDofPEACE
35ad1687a7
Merge pull request #109060 from MetaDark/nixos/xdg/portal
...
nixos/xdg/portal: fix loading portals from systemd service
2021-01-20 03:29:16 -05:00
Robert Hensing
d51d15e1cf
Merge pull request #109665 from prusnak/stdenv-lib-nixos
...
nixos/modules: stdenv.lib -> lib
2021-01-19 23:50:30 +01:00
Sandro
f591395492
Merge pull request #108319 from KaiHa/pr/nitrokey-app-1.4.2
2021-01-19 19:20:35 +01:00
Robert Hensing
04946f4246
nixos/vault: extraConfigPaths -> extraSettingsPaths
...
Align with RFC42 language, even if in advance of the actual settings
attribute.
2021-01-19 18:14:29 +01:00
Thiago Kenji Okada
313ee6bd96
opentabletdriver: 0.4.2 -> 0.5.0
2021-01-19 14:05:48 -03:00
Robert Hensing
3936d85ec3
nixos/systemd: allow preStart with other ExecStartPre cmdlines
...
Declaring them as lists enables the concatenation, supporting
lib.mkBefore, lib.mkOrder, etc.
This is useful when you need to extend a service with a pre-start
script that needs to run as root.
2021-01-19 16:29:29 +01:00
Jonathan Ringer
e2fcf81d2a
nixos/modules: pkgconfig -> pkg-config
2021-01-19 01:16:25 -08:00
Jonathan Ringer
4edbbe523c
nixos/manual: pkgconfig -> pkg-config
2021-01-19 01:16:25 -08:00
Sandro
710a84461b
Merge pull request #104920 from ThibautMarty/herbstluftwm-0.9.0
2021-01-18 23:09:46 +01:00
Christian Kampka
f0ec10a829
treewide: remove kampka as maintainer ( #109813 )
2021-01-18 21:23:49 +01:00
Ryan Mulligan
2b8cdd5f3b
Merge pull request #89472 from asymmetric/relnotes-grub
...
rl-2003: mention grub 2.04 update
2021-01-18 11:50:52 -08:00
Maximilian Bosch
2abfc93a68
nixos/grafana-image-renderer: typo fix
...
Since the service doesn't do a strict config check, this worked fine
before, however the settings in the block never applied properly.
2021-01-18 18:44:58 +01:00
Thibaut Marty
a6cdb113bd
herbstluftwm: add NixOS test
2021-01-18 16:12:52 +00:00
Maximilian Bosch
fbdd82bf9b
Merge pull request #109691 from nh2/manual-element-base_url
...
manual: Element: Fix misleading `base_url`.
2021-01-18 14:32:54 +01:00
Sandro
4eccd6f731
Merge pull request #97449 from AberDerBart/mpd
...
nixos/mpd: fix not properly testing for songs to be in the playlist
2021-01-18 13:47:57 +01:00
Kevin Cox
4ee9a86405
Merge pull request #109042 from Atemu/installer-tests-more-cores
...
tests/installer: give installer VM more cores
2021-01-18 06:14:50 -05:00
github-actions[bot]
ef2abc20bc
Merge master into staging-next
2021-01-18 06:42:35 +00:00
Kai Harries
991aba30f8
module nitrokey: drop option group
...
Since the update of the nitrokey-app to 1.4.2 the group option is no
longer supported.
2021-01-18 07:36:51 +01:00
Niklas Hambüchen
b954e0a12f
manual: Element: Fix misleading base_url
.
...
Judging from `"${pkgs.element-web}/config.sample.json"`,
this needs be a URL starting with `https://`; without it one gets:
Your Element is misconfigured
Invalid base_url for m.homeserver
2021-01-18 04:43:32 +01:00
Bernardo Meurer
e1340190a9
nixos/nomad: default enableDocker to true
2021-01-17 18:54:06 -08:00
Bernardo Meurer
1f8d0d771c
nixos/nomad: init
...
Co-authored-by: Niklas Hambüchen <mail@nh2.me>
2021-01-17 15:11:16 -08:00
Pavol Rusnak
66dc9dbb59
nixos/modules: stdenv.lib -> lib
2021-01-17 21:40:51 +01:00
Jörg Thalheim
1279bf812c
Merge remote-tracking branch 'upstream/master' into HEAD
2021-01-17 18:08:59 +01:00
WilliButz
254b510ce7
nixos/promtheus-nextcloud-exporter: update module and test
...
Use new command-line flags of release 0.3.0 and always answer with the
expected XML in the VM test instead of using a test-specific fixed path.
Co-authored-by: ajs124 <git@ajs124.de>
2021-01-17 15:25:18 +01:00
github-actions[bot]
9541eb734d
Merge master into staging-next
2021-01-17 12:38:49 +00:00
markuskowa
2756a5b4df
Merge pull request #109607 from alesguzik/improve_snapper_example
...
nixos/snapper: improve config example
2021-01-17 11:39:00 +01:00
Symphorien Gibol
d671677eab
nixos: rework evolution-data-server module
2021-01-17 11:13:54 +01:00
Daniel Șerbănescu
e44b3c5187
evolution-with-plugins: added support for evolution-ews.
2021-01-17 11:13:54 +01:00
Ales Huzik
6e65b724be
nixos/snapper: improve config example
...
In the default configuration we have timers for creating and deleting
snapper snapshots, and it looks like if we just create configs with
correct mountpoints we will get automatic snapshots (which either
used to be true, or seems to be only true on Archlinux according to
their wiki). In default snapper configuration TIMELINE_CREATE and
TIMELINE_CLEANUP are set to "no", so just providing configs won't
be enough for having automatic backups, which are the main usecase
for snapper. In other linux distributions you would use `snapper
create-config` to generate configs for partitions and you'd have a
chance to notice that TIMELINE_CREATE is set to no. Also, my guess is
that it might be set to no by default for safety reasons in regular distros,
so that the config won't be actioned upon until the user finishes
customizing it.
2021-01-17 19:13:35 +11:00
github-actions[bot]
f46cb85082
Merge master into staging-next
2021-01-16 18:51:05 +00:00
Jörg Thalheim
21d78fa465
Merge pull request #109494 from ipetkov/nixos-zpool-trim-persistent-timer
...
nixos/zfs: make zpool-trim timer persistent
2021-01-16 13:20:18 +00:00
Aaron Andersen
6b0ba74baa
Merge pull request #109099 from jpotier/fix-deprecation-warning-azure-agent
...
nixos/azure-agent: fix deprecation warning
2021-01-16 07:52:05 -05:00
github-actions[bot]
2445824f40
Merge master into staging-next
2021-01-16 12:40:04 +00:00
Ivan Petkov
e2fa74dc68
nixos/zfs: make zpool-trim timer persistent
...
If the machine is powered off when the zpool-trim timer is supposed to
trigger (usually around midnight) then the timer will be skipped
outright in favor of the next instance.
For desktop systems which are usually powered off at this time, zpool
trimming will never be run which can degrade SSD performance.
By marking the timer as `Persistent = yes` we ensure that it will run at
the first possible opportunity after the trigger date is reached.
2021-01-15 20:23:16 -08:00
Domen Kožar
c32f5b22f1
move nixos-rebuild into pkgs
2021-01-15 20:07:38 +01:00
Jan Tojnar
c0d2951fa6
Merge branch 'master' into staging-next
2021-01-15 17:46:46 +01:00
Kevin Cox
bb96017198
Merge pull request #108932 from Atemu/iso-image-compress-filter
...
iso-image: enable XZ compress filter
2021-01-15 11:32:21 -05:00
Atemu
2fcab516c4
iso-image: enable XZ compress filter
...
Minimal ISO:
1m21 -> 2m25
625M -> 617M
Plasma5 ISO:
2m45 -> 5m18
1.4G -> 1.3G
Decompression speed stays about the same. It's just a few seconds for the whole
image anyways and, with that kind of speed, you're going to be bottlenecked by
IO long before the CPU.
2021-01-15 17:17:52 +01:00
Milan Pässler
4000091123
nixos/docker: change misleading error message
...
The socketActivation option was removed, but later on socket activation
was added back without the option to disable it. The description now reflects
that socket activation is used unconditionally in the current setup.
2021-01-15 15:00:11 +01:00
Mark Vainomaa
f53cf9a65c
Revert "nixos/tests/docker: wait for docker service"
...
This reverts commit c14bafd6c7
.
2021-01-15 15:53:43 +02:00
Mark Vainomaa
a81c27cd54
docker: fix systemd socket activation
2021-01-15 15:53:31 +02:00