Jörg Thalheim
c7d32059b1
Merge pull request #129136 from bobby285271/pr14
...
nixos/doc: convert "Chapter 58. Writing NixOS Modules" to CommonMark
2021-09-07 06:28:57 +01:00
Jörg Thalheim
929f0156cc
Merge pull request #128933 from bobby285271/pr5
...
nixos/doc: convert "8.1. LUKS-Encrypted File Systems" to CommonMark
2021-09-07 06:28:37 +01:00
Jörg Thalheim
48dc5e4ba6
Merge pull request #129003 from bobby285271/pr10
...
nixos/doc: convert "2.5. Additional installation notes" to CommonMark
2021-09-07 06:24:42 +01:00
Jörg Thalheim
0d789e992f
Merge pull request #128937 from bobby285271/pr8
...
nixos/doc: convert "Chapter 55. Container Management" to CommonMark
2021-09-07 06:24:21 +01:00
Jörg Thalheim
5de68de484
Merge pull request #128935 from bobby285271/pr7
...
nixos/doc: convert "Chapter 56. Troubleshooting" to CommonMark
2021-09-07 06:20:47 +01:00
Jörg Thalheim
2a55504a99
Merge pull request #128934 from bobby285271/pr6
...
nixos/doc: convert "6.2. Ad-Hoc Package Management" to CommonMark
2021-09-07 06:20:26 +01:00
Jörg Thalheim
96c98af211
Merge pull request #128892 from bobby285271/pr4
...
nixos/doc: convert "Chapter 13. Networking" to CommonMark
2021-09-07 06:20:04 +01:00
Jörg Thalheim
c0735214e1
Merge pull request #129083 from bobby285271/pr12
...
nixos/doc: convert Chapter 49, 50, 51, 52, 53, 54 to CommonMark
2021-09-07 06:19:33 +01:00
midchildan
21a7695b8a
mirakurun: build with yarn2nix
2021-09-07 12:22:59 +09:00
happysalada
9cbdd2655c
elasticsearch: auto_import_dangling_indices in single-node mode
2021-09-07 12:18:16 +09:00
happysalada
f4b40d572c
elasticsearch: update configuration
...
- transport.tcp.port -> transport.port https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.1.html
- default to start a single-node cluster https://stackoverflow.com/questions/59350069/elasticsearch-start-up-error-the-default-discovery-settings-are-unsuitable-for
2021-09-07 12:18:16 +09:00
Jörg Thalheim
6e17c53b98
Merge pull request #128885 from bobby285271/pr3
...
nixos/doc: convert "Chapter 5. Configuration Syntax" to CommonMark
2021-09-07 03:56:34 +01:00
Jörg Thalheim
b9ed8cbaff
Merge pull request #128878 from bobby285271/pr2
...
nixos/doc: convert "6.1. Declarative Package Management" to CommonMark
2021-09-07 03:55:22 +01:00
Jörg Thalheim
c0e53b6857
Merge pull request #128760 from bobby285271/master
...
nixos/doc: convert "Chapter 45. Profiles" to CommonMark
2021-09-07 03:54:22 +01:00
github-actions[bot]
79667a59e7
Merge master into staging-next
2021-09-06 00:01:28 +00:00
Anders Kaseorg
d8ef13fc13
modules/programs/command-not-found: Fix ShellCheck warnings
...
https://github.com/koalaman/shellcheck/wiki/SC2086
Double quote to prevent globbing and word splitting.
https://github.com/koalaman/shellcheck/wiki/SC2166
Prefer `[ p ] && [ q ]` as `[ p -a q ]` is not well defined.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-09-06 08:49:34 +09:00
Anders Kaseorg
d44b6ae6cb
modules/programs/bash: Fix ShellCheck warnings
...
https://github.com/koalaman/shellcheck/wiki/SC2086
Double quote to prevent globbing and word splitting.
https://github.com/koalaman/shellcheck/wiki/SC2166
Prefer `[ p ] && [ q ]` as `[ p -a q ]` is not well defined.
https://github.com/koalaman/shellcheck/wiki/SC2219
Instead of `let expr`, prefer `(( expr ))` .
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-09-06 08:49:34 +09:00
github-actions[bot]
6c9e0f15dc
Merge master into staging-next
2021-09-04 18:01:10 +00:00
Maximilian Bosch
da537dbfb8
Merge pull request #136505 from bew/update-rofi-1.7.0
...
rofi: 1.6.1 -> 1.7.0
2021-09-04 18:24:45 +02:00
github-actions[bot]
e3f1f8bba2
Merge master into staging-next
2021-09-04 00:01:34 +00:00
Robert Scott
8ae687b26b
Merge pull request #136334 from c0deaddict/master
...
release-notes: add nats service
2021-09-04 00:58:49 +01:00
Guillaume Girol
0f15a8f489
nixos/users-groups: don't default users.users.<name>.group to nogroup
...
this is unsafe, as many distinct services may be running as the same
nogroup group.
2021-09-03 21:22:07 +02:00
Timothy DeHerrera
bb1058f1f0
Merge pull request #136534 from kevincox/synapse-server-name
...
nixos.matrix-synapse: Clarify documentation of server_name.
2021-09-03 13:07:27 -06:00
Alyssa Ross
071a7a4583
Merge remote-tracking branch 'nixpkgs/master' into staging-next
2021-09-03 18:23:45 +00:00
Janne Heß
3156730402
nixos/switch-to-configuration: Add dry activation scripts
2021-09-03 18:40:11 +02:00
Graham Christensen
3677d4bc22
kexec-tools: rename from kexectools to match the project name
2021-09-03 10:17:21 -04:00
Artturi
45b7c5b223
Merge pull request #136475 from Artturin/pipewirejackldpath
...
nixos/pipewire: use absolute path for jack libs
2021-09-03 16:36:39 +03:00
Jos van Bakel
d68d6477c2
release-notes: add nats service
2021-09-03 13:57:04 +02:00
Kevin Cox
6f7fc1c693
nixos.matrix-synapse: Clarify documentation of server_name.
...
Matrix homeservers have two important domains. The user-visible server_name and the homeserver domain which serves most of the traffic but is really seen by users. The docs around this variable said "This is used by remote servers to connect to this server" which is very confusing because most of the remote server traffic actually goes the server domain, not the server_name domain. (The server_name domain is only used to fetch the .well-known file that points at the server domain).
I largely copied the wording from https://matrix-org.github.io/synapse/latest/usage/configuration/homeserver_sample_config.html as I found it much more clear.
2021-09-02 21:27:00 -04:00
github-actions[bot]
704a7a86ca
Merge master into staging-next
2021-09-03 00:01:42 +00:00
Benoit de Chezelles
2d9bf01310
rofi: 1.6.1 -> 1.7.0
...
And add myself as a maintainer
2021-09-02 23:15:45 +02:00
Bernardo Meurer
62f6985869
Merge pull request #135182 from lovesegfault/nixos-distcc
...
nixos/distccd: init
2021-09-02 20:41:28 +00:00
github-actions[bot]
0630061ef3
Merge master into staging-next
2021-09-02 18:01:20 +00:00
Artturin
756e60344f
nixos/pipewire: use absolute path for jack libs
2021-09-02 17:17:15 +03:00
Matthias Treydte
9ce8df127d
nixos/etc: make sure local "source" files are imported to the store
...
The treatment of the "source" parameter changed
with eb7120dc79
, breaking stuff.
Before that commit, the source parameter was converted to a
string by implicit coercion, which would copy the file to the
store and yield an string containing the store path. Now, by
the virtue of escapeShellArg, toString is called explicitly on
that path, which will yield an string containing the absolute
path of the file.
This commit restores the old behavior.
2021-09-02 15:50:44 +02:00
github-actions[bot]
3cc5df2052
Merge master into staging-next
2021-09-02 12:01:09 +00:00
misuzu
df972a3dde
nixos/sanoid: allow zfs value for recursive
2021-09-02 14:56:23 +03:00
Michele Guerini Rocco
052009bf2b
Merge pull request #135315 from johnjameswhitman/johnjameswhitman/fix-wlan-sub-interfaces
...
nixos/tasks/network-interfaces: Assign mac to new wlan interface instead of underlying one
2021-09-02 09:37:04 +02:00
github-actions[bot]
ba543de038
Merge master into staging-next
2021-09-02 06:01:01 +00:00
Aaron Andersen
abfdb24af0
Merge pull request #125687 from malte-v/soju-module-new
...
nixos/soju: add module
2021-09-01 22:09:44 -04:00
happysalada
4ddc5c6b2a
elasticsearch: remove logic for version less than 6
2021-09-02 10:57:02 +09:00
happysalada
d58fa9e445
elasticsearch: fix jvm gc log path
2021-09-02 10:57:02 +09:00
happysalada
e13906fff0
elasticsearch: nixpkgs-fmt
2021-09-02 10:57:02 +09:00
John Whitman
8d3527aa88
nixos/network-interfaces: Fix wlan interface mac
2021-09-01 21:46:26 -04:00
Raphael Megzari
acf0098bb0
Merge branch 'master' into staging-next
2021-09-02 10:20:23 +09:00
Jan Tojnar
07978cddab
Merge pull request #136071 from jtojnar/gnome-qpa
...
nixos/gnome: enable platform integration for Qt
2021-09-02 03:06:55 +02:00
github-actions[bot]
ce1d6621cd
Merge master into staging-next
2021-09-02 00:01:38 +00:00
Aaron Andersen
186df90343
Merge pull request #135108 from p3psi-boo/master
...
clfswm: support custom package
2021-09-01 15:45:18 -04:00
github-actions[bot]
6db5c6fc7b
Merge master into staging-next
2021-09-01 18:01:09 +00:00
Bernardo Meurer
ed4771d6e2
Merge pull request #136379 from cpcloud/fix-broken-nvidia
...
nixos/nvidia: fix missing variable reference
2021-09-01 16:43:09 +00:00
Jan Tojnar
1c49627ba7
Merge pull request #135819 from Kranzes/pipewire-update
...
pipewire: 0.3.33 -> 0.3.34
2021-09-01 16:52:08 +02:00
p3psi
9e507a9314
clfswm: support custom package
...
Fix example
Remove example
2021-09-01 21:27:37 +08:00
Phillip Cloud
6aaccdcbc8
nixos/nvidia: remove extra space
2021-09-01 08:57:33 -04:00
Phillip Cloud
db0560c0f2
nixos/nvidia: fix missing variable reference
2021-09-01 08:54:32 -04:00
github-actions[bot]
b2f58ca11e
Merge master into staging-next
2021-09-01 12:01:15 +00:00
Alyssa Ross
c13cf1e76f
Merge remote-tracking branch 'nixpkgs/master' into staging-next
2021-09-01 07:47:01 +00:00
Nick Cao
83b48cc589
caddy: build with default go and fix tests
2021-09-01 15:15:50 +08:00
Maximilian Bosch
9a52aeacc1
Merge pull request #135958 from Ma27/nextcloud-upgrade-not-found
...
nixos/nextcloud: add some notes for `Error: Command "upgrade" is not defined.`
2021-08-31 20:49:49 +02:00
Bernardo Meurer
5abb70031c
Merge pull request #136247 from lovesegfault/nvidia-fixes
2021-08-31 17:57:18 +00:00
Maximilian Bosch
767bb4e4bb
nixos/nextcloud: apply doc fixes suggested by fabaff
...
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2021-08-31 17:57:40 +02:00
Kevin Cox
3106d032f7
Merge pull request #136261 from happysalada/ipfs_auto_migrations
...
Ipfs auto migrations
2021-08-31 09:33:20 -04:00
happysalada
8bce3034fd
ipfs: add autoMigrate option
2021-08-31 22:22:36 +09:00
Eric Bailey
c87483cb55
kops: 1.21.0 -> 1.21.1 ( #136057 )
2021-08-31 11:55:30 +02:00
Robin Stumm
1dd3bd8728
nixos/syncthing: fix declarative init crash on HTTPS
...
A previous config may be present that has HTTPS for the REST API enabled.
2021-08-31 11:27:51 +02:00
Bernardo Meurer
9e7af8a13c
nixos/roon-bridge: fix openFirewall
2021-08-31 01:21:07 -07:00
Bernardo Meurer
edddb705e8
nixos/roon-server: fix openFirewall
2021-08-31 01:20:07 -07:00
happysalada
4502d6386e
ipfs: nixpkgs-fmt
2021-08-31 12:55:31 +09:00
happysalada
977ac07fed
ipfs: increase UDP buffer size
2021-08-31 09:50:59 +09:00
happysalada
54dbdcbcbb
ipfs: nixpkgs-fmt
2021-08-31 09:50:59 +09:00
Bernardo Meurer
7b2709f6a4
nixos/nvidia: let user choose whether to install nvidia-settings
2021-08-30 17:06:07 -07:00
github-actions[bot]
fb70b9330c
Merge master into staging-next
2021-08-30 18:01:01 +00:00
Robin Stumm
ead3028db0
nixos/syncthing: fix escapes interpreted in config
...
Dash `echo` interprets backslash escapes. This causes two consecutive backslashes in JSON to turn into a single one before the string is passed to jq, resulting in a parsing error.
2021-08-30 17:34:34 +02:00
Malte Voos
9d822d2047
nixos/soju: add 21.11 release notes entry
2021-08-30 16:28:07 +02:00
Malte Voos
f4f2057a76
nixos/soju: add module
2021-08-30 16:28:06 +02:00
Martin Weinelt
e2575c7de1
Merge branch 'master' into staging-next
2021-08-30 16:08:03 +02:00
happysalada
d874a52015
epmd: provide default
2021-08-30 22:26:57 +09:00
Kevin Cox
8c52265df5
Merge pull request #136128 from max-privatevoid/patch-3
...
nixos/ipfs: run profile applications offline
2021-08-30 07:25:28 -04:00
happysalada
8a56ac5db3
epmd: add ipv6 assertion
2021-08-30 19:51:00 +09:00
happysalada
f091420c1d
rabbitmq: add option to enable management plugin
2021-08-30 18:43:09 +09:00
happysalada
36cf478468
rabbitmq: nixpkgs-fmt
2021-08-30 18:43:09 +09:00
Max
8f36abb528
nixos/ipfs: run profile applications offline
2021-08-30 01:00:44 +02:00
Aaron Andersen
515ad99467
Merge pull request #132722 from aanderse/nixos/nzbget
...
nixos/nzbget: add settings option
2021-08-29 12:25:37 -04:00
Guillaume Girol
c988c752bb
Merge pull request #133133 from symphorien/tt-rss-read-only
...
nixos/tt-rss: make all php files read only
2021-08-29 11:33:25 +00:00
Jakub Sokołowski
972a365488
syncthing: add extraFlags option that adjust service
...
This is useful for situations in which you might want to reset certain
things using `--reset-database` or `--reset-deltas` or debug certain
things using any of the debug options like `--debug-perf-stats`.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-29 12:26:06 +02:00
Jakub Sokołowski
b991f1e448
syncthing: add autoAcceptFolders to devices config
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-29 12:22:44 +02:00
Bernardo Meurer
58a40e05b2
nixos/distccd: init
...
Closes: #42604
2021-08-29 02:58:03 -07:00
rnhmjoj
9e8fcb0184
nixos/fonts: fixup dd38ae1f
2021-08-29 11:03:13 +02:00
Jan Tojnar
47afdc4627
nixos/gnome: enable platform integration for Qt
...
Qt links against GTK to be able to use native GTK file chooser
in GTK-oriented DEs. However, GTK expects a specific environment,
which means the application needs to be wrapped to prevent crashes
when file chooser is opened in some environments.
This patch bypasses the need for wrapping Qt applications with GTK-related
environment since the file chooser dialogue will now come from a separate
process (instantiated by the XDG desktop portal via D-Bus).
In the future, we could remove the GTK dependency from Qt to fix the crashes
on non-{GNOME,Pantheon} environments. Then, users would be able to choose
between non-native Qt dialogue or native one facilitated by XDG portals
(e.g. through setting `QT_QPA_PLATFORMTHEME` to either `qgnomeplatform`,
or `xdgdesktopportal`).
One disadvantage is adding a Qt dependency to GNOME, even for people
who might not use any Qt apps. But they can easily just add `qt5.enable = false;`
to their NixOS configuration.
The configuration is also presumably less battle tested than plain Qt
with its first-party GTK integration. But it is backed by Fedora
and used by Manjaro GNOME so it cannot be that bad.
Lastly, I worry about ABI compatibility of the platform modules
with apps installed from different Nixpkgs revision.
2021-08-29 04:23:34 +02:00
Maximilian Bosch
8678ac57d7
Merge pull request #135891 from Ma27/mautrix-telegram-perm-startup
...
nixos/mautrix-telegram: loosen umask to keep `config.json` writable
2021-08-29 00:06:06 +02:00
Maximilian Bosch
6f8cfa08fe
Merge pull request #135946 from Ma27/nextcloud-tableprefix
...
nixos/nextcloud: remove invalid `--database-table-prefix` option
2021-08-29 00:00:25 +02:00
B. Kelly
7221585f89
nixos/deliantra-server: add settings module for Deliantra MMORPG server
2021-08-28 16:25:11 -04:00
B. Kelly
978e73e5f4
nixos/crossfire-server: add settings module for Crossfire MMORPG server
2021-08-28 16:23:30 -04:00
Philippe Hürlimann
4fecb8b2d0
nixos/airsonic: make path to war file and jre configurable ( #135709 )
...
* nixos/airsonic: make path to war file and jre configurable
* Apply suggestions from code review
Co-authored-by: Sumner Evans <me@sumnerevans.com>
Co-authored-by: Sumner Evans <me@sumnerevans.com>
2021-08-28 14:26:03 -04:00
github-actions[bot]
dbad333a72
Merge master into staging-next
2021-08-28 12:01:06 +00:00
Andreas Rammhold
137147c826
Merge pull request #135442 from em0lar/paperless-ng-fix-web-file-upload
...
nixos/paperless-ng: fix web file upload
2021-08-28 12:50:34 +02:00
Leo Maroni
2148272432
nixos/paperless-ng: fix web file upload
2021-08-28 12:22:52 +02:00
github-actions[bot]
b7f2a7d1ba
Merge master into staging-next
2021-08-28 00:01:34 +00:00
Sandro
a5237b5614
Merge pull request #135956 from Ma27/ma27-unmaintain
...
treewide: remove ma27 from the maintainer-list of a few packages
2021-08-28 01:46:03 +02:00
Florian Klink
f499d864bf
Merge pull request #135811 from talyz/gitlab-14.2.1
...
gitlab: 14.1.2 -> 14.2.1
2021-08-28 00:20:28 +02:00
Maximilian Bosch
561418f996
nixos/nextcloud: add some notes for Error: Command "upgrade" is not defined.
...
This error occurs if `nextcloud-occ maintenance:install` fails and the
`upgrade` command is attempted to be executed afterwards.
Due to the nature of the installer we can't do much about it, so I guess
it makes sense to add some notes about it. The other notes in the
`Pitfalls`-section are semantically a list of different topics, so I
changed that accordingly now.
Closes #111175
2021-08-27 22:36:45 +02:00
Maximilian Bosch
3da886bf41
treewide: remove ma27 from the maintainer-list of a few packages
...
These are all packages that I stopped using and hence just create noise
in my inbox for each change affecting them and let's face it, while I
still enjoy contributing to nixpkgs, it doesn't really make sense to be
listed there if I can't do much anyways.
Each of these packages can be taken over by someone or removed if
people think that's reasonable.
Of course, if other maintainers face issues, I can answer some questions
if needed & possible.
2021-08-27 22:28:49 +02:00
Maximilian Bosch
eaeb4fe04e
nixos/nextcloud: remove invalid --database-table-prefix
option
...
This doesn't work anymore and thus breaks the installation leaving a
broken `/var/lib/nextcloud`.
It isn't a big deal since we set this value in the override config
before, so the correct table-prefix is still used. In order to confirm
that, I decided to add a custom prefix to the basic test.
2021-08-27 20:21:25 +02:00
talyz
3dd17ae22f
gitlab: Enable puma's systemd notify support
2021-08-27 17:38:40 +02:00
Maximilian Bosch
bae65a3c06
nixos/mautrix-telegram: loosen umask to keep config.json
writable
...
This is needed because `mautrix-telegram --generate-registration`
appears to need write-access to `config.json` as well.
Closes #135884
2021-08-27 11:41:30 +02:00
github-actions[bot]
8fb1ff7c31
Merge master into staging-next
2021-08-26 18:01:02 +00:00
Martin Weinelt
7e1cdd2548
Merge pull request #133504 from Luis-Hebendanz/fix_firefox2
...
firefox: Added checks for new addon behaviour since v91
2021-08-26 19:51:08 +02:00
Ilan Joselevich
70de7b5b45
pipewire: 0.3.33 -> 0.3.34
2021-08-26 20:33:18 +03:00
davidak
55f48acce6
Merge pull request #125901 from anubhavkini/update-todoman
...
todoman: 3.9.0 -> 4.0.0
2021-08-26 19:25:52 +02:00
talyz
99387372d5
gitlab: 14.1.2 -> 14.2.1
2021-08-26 19:01:22 +02:00
Sandro
1fc2520df1
Merge pull request #135524 from d-xo/erigon-2021-08-04
...
Erigon 2021-08-04
2021-08-26 15:44:29 +02:00
github-actions[bot]
b13b005f0e
Merge master into staging-next
2021-08-26 12:01:09 +00:00
Lassulus
612a8fa189
Merge pull request #135608 from hyperfekt/loopback_copytoram
...
stage-1: fix copytoram option for loopback.cfg boot
2021-08-26 09:53:05 +02:00
Anubhav Kini
ebe32d542f
todoman: 3.9.0 -> 4.0.0
2021-08-26 12:32:50 +05:30
Zhaofeng Li
b6ad701a2c
nixos/promtail: Allow write access to positions file if not in CacheDirectory
...
Because of `ProtectSystem=strict`, Promtail cannot write to the positions
file if it's not in its `CacheDirectory` (the default value).
2021-08-25 22:54:39 -07:00
Dmitry Kalinkin
262fd63a72
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/tools/networking/inetutils/default.nix
2021-08-26 00:57:08 -04:00
davidak
a023b22d6b
Merge pull request #105786 from teto/fstab
...
filesystems: add syntax to /etc/fstab header
2021-08-26 05:53:25 +02:00
davidak
10d21c60e7
Merge pull request #131695 from tomfitzhenry/calls
...
programs/calls: init
2021-08-26 04:44:01 +02:00
github-actions[bot]
1bf55a993f
Merge master into staging-next
2021-08-26 00:01:37 +00:00
Leo Maroni
2163af5167
nixos/grafana: start systemd service after database
2021-08-26 07:06:59 +09:00
Michele Guerini Rocco
296da7b2f8
Merge pull request #133303 from rnhmjoj/cursor
...
nixos/hidpi: scale X11 core cursor
2021-08-25 21:07:47 +02:00
Silvan Mosberger
1ad73dadd2
Merge pull request #132836 from Infinisil/populate-members
...
nixos/users: Populate group members option
2021-08-25 20:17:09 +02:00
Vladimír Čunát
70e05c1003
Merge branch 'master' into staging-next
2021-08-25 19:42:15 +02:00
Graham Christensen
9ea7f443ec
Merge pull request #106574 from grahamc/amazon-image-zfs
...
nixos/amazonImageZfs: init
2021-08-25 12:08:33 -04:00
Martin Weinelt
a90373118d
Merge pull request #135492 from mweinelt/octoprint
...
nixos/octoprint: allow access to serial devices
2021-08-25 18:07:12 +02:00
Graham Christensen
71b3d18181
amazon images: extend the image-info.json to have a disks object
...
Having a disks object with a dictionary of all the disks and their
properties makes it easier to process multi-disk images.
Note the rename of `label` to `system_label` is because `$label`i
is something of a special token to jq.
2021-08-25 10:42:35 -04:00
Graham Christensen
bd38b059ea
NixOS/amazonImageZfs: init
...
Introduce an AWS EC2 AMI which supports aarch64 and x86_64 with a ZFS
root.
This uses `make-zfs-image` which implies two EBS volumes are needed
inside EC2, one for boot, one for root. It should not matter which
is identified `xvda` and which is `xvdb`, though I have always
uploaded `boot` as `xvda`.
2021-08-25 10:42:35 -04:00
Graham Christensen
076f6e2d94
nixos/make-zfs-image: init
...
This is a private interface for internal NixOS use. It is similar
to `make-disk-image` except it is much more opinionated about what
kind of disk image it'll make.
Specifically, it will always create *two* disks:
1. a `boot` disk formatted with FAT in a hybrid GPT mode.
2. a `root` disk which is completely owned by a single zpool.
The partitioning and FAT decisions should make the resulting images
bootable under EFI or BIOS, with systemd-boot or grub.
The root disk's zpools options are highly customizable, including
fully customizable datasets and their options.
Because the boot disk and partition are highly opinionated, it is
expected that the `boot` disk will be mounted at `/boot`. It is
always labeled ESP even on BIOS boot systems.
In order for the datasets to be mounted properly, the `datasets`
passed in to `make-zfs-image` are turned in to NixOS configuration
stored at /etc/nixos/configuration.nix inside the VM.
NOTE: The function accepts a system configuration in the `config`
argument. The *caller* must manually configure the system
in `config` to have each specified `dataset` be represented
by a corresponding `fileSystems` entry.
One way to test the resulting images is with qemu:
```sh
boot=$(find ./result/ -name '*.boot.*');
root=$(find ./result/ -name '*.root.*');
echo '`Ctrl-a h` to get help on the monitor';
echo '`Ctrl-a x` to exit';
qemu-kvm \
-nographic \
-cpu max \
-m 16G \
-drive file=$boot,snapshot=on,index=0,media=disk \
-drive file=$root,snapshot=on,index=1,media=disk \
-boot c \
-net user \
-net nic \
-msg timestamp=on
```
2021-08-25 10:42:35 -04:00
lucasew
83514ae7a9
lib.formats.yaml: use well known YAML format
...
The way `(lib.formats.yaml {}).generate` generates YAML is compliant
because on YAML 1.2 spec JSON is a subset of YAML but it bugs people's
minds and can lead to problems with software that is not compatible with
YAML 1.2.
This commit also changes the test of the generation function. Data
validation/typing remains the same.
See #133802 .
Signed-off-by: lucasew <lucas59356@gmail.com>
2021-08-25 14:02:59 +02:00
Sandro
49b5beea43
Merge pull request #128624 from vs49688/exfat
2021-08-25 12:24:39 +02:00
Pierre Bourdon
6b70d3e911
nixos/tor: allow AF_NETLINK address family
...
Tor attempts to detect what external IP address a machine is using by
listing addresses on all network interfaces on the system. This listing
is done using getifaddrs(3), which relies on netlink in order to get
IPv6 address information.
This change fixes Tor not finding the relay's IPv6 address unless
explicitly configured via either an ORPort directive or via DNS
resolution of the machine hostname.
2021-08-25 06:03:41 +02:00
hyperfekt
d5b9aefa43
stage-1: fix copytoram option for loopback.cfg boot
...
Uses an alternative method to find the size of the ISO when it is a file and
not a block device for creating the tmpfs its contents are copied to.
2021-08-25 01:35:31 +00:00
Martin Weinelt
dd46a5e731
Merge pull request #135540 from mweinelt/hass-deconz
...
home-assistant: allow serial access when using deconz
2021-08-25 02:05:20 +02:00
Maximilian Bosch
749caaef5b
nixos/postfixadmin: fix eval & pin to PHP 7.4
...
Even though some PHP8 compat fixes seem to be in the release that's
packaged here, it seems as if there are still some minor issues[1].
[1] https://github.com/postfixadmin/postfixadmin/issues/395
2021-08-24 23:50:31 +02:00
Robin Gloster
13a5d7dc23
release-notes: add postfixadmin module addition
2021-08-24 23:50:27 +02:00
Robin Gloster
8a0b6a42ee
postfixadmin: fix db owner
2021-08-24 23:46:07 +02:00
Robin Gloster
862dd4ef58
postfixadmin: review additions
...
Co-authored-by: Linus Heckemann <git@sphalerite.org>
2021-08-24 23:46:06 +02:00
Robin Gloster
0eafc74d50
postfixadmin: init at 3.3.9
2021-08-24 23:46:06 +02:00
Silvan Mosberger
249710d95c
Merge pull request #135568 from DeterminateSystems/zfs-expand-on-boot
...
ZFS: expand on boot
2021-08-24 21:58:48 +02:00
Your Name
4bb4bcc30c
services.zfs.expandOnBoot: support expanding pools on boot
...
Either enumerating a list of pools to expand or expanding
all pools on boot.
2021-08-24 15:01:08 -04:00
Ryan Mulligan
e02fbd0065
Merge pull request #133438 from figsoda/sx-module
...
nixos/sx: init
2021-08-24 09:33:07 -07:00
David Terry
f1dea7ed30
erigon: 2021.08.03 -> 2021.08.04
2021-08-24 12:22:33 +02:00
Martin Weinelt
3c8a09364d
home-assistant: allow serial access when using deconz
2021-08-24 12:09:12 +02:00
Andreas Fuchs
15d14ad150
github-runner: Allow configuring the package to use ( #134661 )
...
This addresses #120263 in part, by allowing users to override the
github-runner derivation that is bound to turn non-functional via the
self-update mechanism. (And it'll allow using a buildFHSUserEnv-based
derivation, if someone ends up building that!)
2021-08-24 11:23:39 +02:00
Martin Weinelt
f8df760668
nixos/octoprint: allow access to serial devices
...
Printers are usually connected over USB to serial interfaces that are
mounted as tty character devices owned by the dialout group. Add our
octoprint service to this group at runtime to allow access to these
printers.
2021-08-24 03:00:39 +02:00
Martin Weinelt
699b4f6fee
Merge pull request #135472 from em0lar/paperless-ng/postgresql
...
nixos/paperless-ng: allow using postgresql via a unix socket
2021-08-23 23:28:33 +02:00
Maximilian Bosch
23e1e165cd
Merge pull request #135094 from mguentner/matrix-synapse-modern-twisted
...
matrix-synapse: add e-mail delivery regression test
2021-08-23 23:19:10 +02:00
Leo Maroni
fa80ed695b
nixos/paperless-ng: allow using postgresql via a unix socket
2021-08-23 22:44:36 +02:00
Kevin Cox
c3df8057da
Merge pull request #121518 from Atemu/automatic-kernelTests
...
kernel/generic: add kernelTests automatically
2021-08-23 18:23:32 +00:00
Atemu
a3f6ff6d48
nixosTests.kernel-generic: add myself as maintainer
2021-08-23 19:57:49 +02:00
Atemu
457653d99c
nixosTests.kernel-generic: expose test-making functions
...
Changed the name to be clearer, 'makeKernelTest' could imply that it wants a
kernel pkg as its arg while it actually needs a set of linuxPackages.
2021-08-23 19:57:49 +02:00
Atemu
2b52f2b762
nixosTests.kernel-generic: simplify
2021-08-23 19:57:46 +02:00
Zane van Iperen
57b933a911
nixos/doc: add note about switching to exfatprogs
2021-08-24 03:33:45 +10:00
Zane van Iperen
a049d84229
nixos/filesystems/exfat: use "exfatprogs" instead of "exfat" if kernel > 5.7
...
5.7+ comes with a native exfat implementation, exfatprogs should be used instead.
The exfat package puts a "mount.exfat" binary in the path, which causes
mount to prefer the FUSE version to the non-fuse one. There's no way to
disable the binary, so switch to exfatprogs.
2021-08-24 03:31:41 +10:00
Malte Voos
59d7d726f1
nixos/gnunet: improve service configuration
...
Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
2021-08-23 14:22:56 +02:00
Jan Tojnar
4ff3577f25
Merge branch 'staging-next' into staging
2021-08-23 14:19:54 +02:00
Sandro
2981a49d31
Merge pull request #135117 from rski/awesomewm
2021-08-23 12:45:49 +02:00
Zhaofeng Li
59af7f0a2b
apparmor: Fix cups-client typo
2021-08-23 00:50:15 -07:00
Luis-Hebendanz
d031843a1e
firefox: Added checks for new addon behaviour since v91
2021-08-22 22:17:44 +02:00
Jörg Thalheim
b7802cf399
Merge pull request #132087 from scvalex/improve-kubernetes-tests
...
kubernetes: fix flaky test and run tests as group
2021-08-22 19:25:50 +01:00
figsoda
7239ddf173
nixos/sx: init
2021-08-22 13:44:29 -04:00
Florian Klink
002cf7d42d
Merge pull request #132347 from anpandey/captive-browser-fix
...
captive-browser: fix empty string in interface args
2021-08-22 19:40:23 +02:00
ajs124
0e19ea6cd1
Merge pull request #134940 from dminuoso/dovecot-switch-service-to-notify
...
nixos/dovecot: Switch systemd service type to notify
2021-08-22 19:15:10 +02:00
Victor Nawothnig
60c8c64595
nixos/dovecot: Switch systemd service type to notify
2021-08-22 18:44:58 +02:00
Jörg Thalheim
a076ce1ed3
Merge pull request #135150 from dminuoso/rspamd-avoid-empty-postfix-service
...
nixos/rspamd: Avoid empty postfix service
2021-08-22 16:06:39 +01:00
Maximilian Güntner
076074a8b4
nixos/tests/matrix-synapse: add email regression test case
...
twisted is used in matrix-synapse for smtp handling.
Mostly this is used for password resets, but also notifications
are delivered that way.
older versions of twisted require the e-mail server to
have TLS1.0 enabled.
Obviously, quite a lot of servers have this disabled which means
synapse won't be able to deliver mails using such servers.
matrix-synapse issue:
https://github.com/matrix-org/synapse/issues/6211
2021-08-22 16:47:25 +02:00
lewo
79e5ee0c76
Merge pull request #135089 from nlewo/kdb-update
...
nixos/tests/kbd-update-search-paths: explicitly import re
2021-08-22 16:04:35 +02:00
github-actions[bot]
42f8c46335
Merge staging-next into staging
2021-08-22 12:01:56 +00:00
Daniel Șerbănescu
792e517070
nixos/httpd: add none option to logFormat
2021-08-22 10:17:28 +02:00
Victor Nawothnig
942d78d9cd
nixos/rspamd: Avoid empty postfix service
2021-08-22 03:18:55 +02:00
github-actions[bot]
f6ad0961da
Merge staging-next into staging
2021-08-22 00:02:05 +00:00
Graham Christensen
1c145df9ae
Merge pull request #134981 from DeterminateSystems/aws-ami
...
AWS AMI: Make the serial console access useful.
2021-08-21 19:21:30 -04:00
Jan Tojnar
7a04c2ad68
Merge branch 'staging-next' into staging
...
- boost 171 removed on staging-next
- re-generated node-packages.nix
; Conflicts:
; pkgs/development/java-modules/m2install.nix
; pkgs/development/node-packages/node-packages.nix
; pkgs/top-level/all-packages.nix
2021-08-22 01:13:41 +02:00
Van Tuan Vo
c8e3441961
nixos/fluidd: init fluidd service at 1.16.2
2021-08-21 23:32:52 +02:00
Romanos Skiadas
a41302fea6
nixos: Improve awesome wm example
...
use a useful example instead of a package that doesn't seem to exist
2021-08-22 00:17:50 +03:00
Sandro
2ad547e9c8
Merge pull request #133635 from fgaz/staticjinja/4.1.0
2021-08-21 21:19:10 +02:00
Antoine Eiche
07f85e36e9
nixos/tests/kbd-update-search-paths: explicitly import re
2021-08-21 18:56:03 +02:00
Jonathan Ringer
25dcd0b3c0
nixos/manual: mention qtile bump
2021-08-21 08:10:30 -07:00
Jonathan Ringer
4867ebd8c5
nixos/qtile: update start command
2021-08-21 08:10:30 -07:00
Francesco Gazzetta
ea4697e414
staticjinja: 3.0.1 -> 4.1.0
2021-08-21 13:35:12 +02:00
Robert Hensing
a1cdf552dc
Merge pull request #134008 from aanderse/httpd
...
nixos/httpd: add virtualHosts.<name>.listenAddresses option
2021-08-21 09:30:35 +02:00
Vladimír Čunát
96193ea998
nixos/hardware.firmware: fix evaluation after PR #122463
...
NixOS jobsets on Hydra were failing evaluation because of this.
The alias has no other occurrence in NixPkgs.
2021-08-21 09:20:16 +02:00
Luke Granger-Brown
eab1226578
Merge pull request #134782 from dminuoso/dovecot-allow-any-protocol
...
nixos/dovecot: Allow any or no protocol
2021-08-21 03:39:15 +01:00
Jörg Thalheim
9b962429be
Merge pull request #133014 from Mic92/fix-pam
...
nixos: reduce pam files rebuilds on updates
2021-08-20 23:23:42 +01:00
Jörg Thalheim
1645acf1d3
nixos: reduce pam files rebuilds on updates
...
Before whenever environment variables changed, pam files had to be
rebuild.
This is expensive since each file needs its own sandbox set up.
2021-08-20 23:43:30 +02:00
Jacek Galowicz
6a29f7f504
Merge pull request #134984 from blaggacao/fix-125992-2
...
fix 125992 2
2021-08-20 22:06:53 +02:00
Sandro
d4eb822028
Merge pull request #128189 from c0deaddict/feature/nats-service
...
nixos/nats: init
2021-08-20 22:00:59 +02:00
David Arnold
bd2cfa771e
nixos/test: some test fixes in succession of #125992
2021-08-20 14:36:52 -05:00
David Arnold
c1fcae3e88
nixos/test: some test fixes in succession of #125992
2021-08-20 14:36:48 -05:00
David Arnold
2832896c5b
nixos/test: some test fixes in succession of #125992
2021-08-20 13:38:22 -05:00
Your Name
c042c1a1f8
NixOS AWS AMI: Create boot entries for each system generation
2021-08-20 14:02:11 -04:00
Nikolay Amiantov
bd18e491a9
fontconfig service: drop dpi option
...
Recommend to use services.xserver.dpi option instead. Mention in the
documentation that it's a sledgehammer approach and monitor settings should be
used instead.
Also don't set DPI in fontconfig settings; fontconfig should use Xft settings
by default so let's not override one value in multiple places. For example,
user now can set DPI via ~/.Xresources properly.
2021-08-20 16:55:07 +00:00
Your Name
1b79176310
NixOS AWS AMI: enable the serial console on ttyS0
2021-08-20 12:42:02 -04:00
Your Name
54aa35d40e
NixOS AWS AMI: Configure Grub's serial console
...
See:
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
2021-08-20 11:22:45 -04:00
Your Name
bfd2f800ee
NixOS AMI: Give grub a 1s timeout now that AWS has emergency console access.
...
See:
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
2021-08-20 11:22:39 -04:00
Your Name
0ccd6448d6
NixOS AWS AMI: Set the console to 115200n8
...
See:
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html
* https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
2021-08-20 11:15:31 -04:00
Timothy DeHerrera
3cc7e2f037
Merge pull request #115927 from input-output-hk/fix-deleted-sockets-restart
...
nixos/switch-to-configuration: don't try restart deleted sockets
2021-08-20 08:33:42 -06:00
Timothy DeHerrera
066bcd954f
Merge pull request #117476 from jbgi/systemd-journald@
...
nixos/systemd: add namespaced (templated) journald sockets and service
2021-08-20 08:32:05 -06:00
Aaron Andersen
98e354074f
nixos/httpd: add virtualHosts.<name>.listenAddresses option
2021-08-20 10:29:16 -04:00
ajs124
f358f7326b
tasks/lvm: add all tools from thin-provisioning-tools
...
This should barely increase the size of the initrd, because these are all symlinks.
With this, systems with dm-cache/lvmcache can also be booted, although the kernel modules for the relevant dm targets still need to be added to the initrd with boot.initrd.kernelModules.
2021-08-20 12:55:06 +02:00
Jacek Galowicz
85e131e51a
Merge pull request #125992 from blaggacao/nixos-test-ref/04-better-control-test-env-symbols
...
nixos test ref/04 better control test env symbols
2021-08-20 11:25:52 +02:00