1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-08 11:35:37 +03:00
Commit graph

42208 commits

Author SHA1 Message Date
Tristan Ross
49d5b2b7ba
nixos/getty: use distro name in default greeting line 2024-06-12 20:08:41 -07:00
NeverBehave
3fb0e045a5 nixos/wstunnel: adopt rust new cli flags 2024-06-13 00:58:02 +00:00
github-actions[bot]
aacd9cf894
Merge staging-next into staging 2024-06-13 00:02:48 +00:00
Masum Reza
7082d01967
nixos/amdvlk: init module (#318175) 2024-06-12 22:45:01 +02:00
Florian Klink
eabd9c36d9
Merge pull request #318604 from jmbaur/pref64-networkd
nixos/systemd-networkd: add PREF64 related options
2024-06-12 22:09:54 +03:00
misuzu
4df3c4c17b nixos/clevis: add support for parent encrypted zfs datasets 2024-06-12 21:21:50 +03:00
github-actions[bot]
ee4da03e6e
Merge staging-next into staging 2024-06-12 18:01:23 +00:00
Pol Dellaiera
7d270d53b9
Merge pull request #303429 from timhae/aria2-module
Aria2 module settings
2024-06-12 19:23:44 +02:00
K900
93fb179750
Merge pull request #300815 from amarshall/linux-common-hardening
linux: set various common hardening config
2024-06-12 19:01:57 +03:00
github-actions[bot]
da355608e2
Merge staging-next into staging 2024-06-12 12:01:37 +00:00
Arian van Putten
494442762c amazon-ssm-agent: remove overrideEtc parameter
This was meant to make amazon-ssm-agent work "out of the box" on non-NixOS
systems but the feature never really worked.

The problem is that amazon-ssm-agent looks for the files "amazon-ssm-agent.json"
and "seelog.xml" but the files in the package are named
"amazon-ssm-agent.json.template" and "seelog.xml.template". So even with
this overrideEtc = true it would not be able to find the config.

E.g. you'd get an error like

Error occurred fetching the seelog config file path:  open /nix/store/pyfxjr0i0hszcj9b6fqly6344zf9zhcb-amazon-ssm-agent-3.3.484.0/etc/amazon/ssm/seelog.xml: no such file or directory
on startup.

Removing this parameter from the from the package doesn't break things as it didn't work in the first place.
2024-06-12 11:50:17 +02:00
Maximilian Bosch
0b31ada92b
nixos/nextcloud: refactor tests
The tests had very much duplication and some if it was even wrong! For
instance, `withRcloneEnv` in the MySQL test didn't have the `"$@"` at
the bottom to execute commands passed to it. Because of that, the MySQL
testcase never checked whether files can be uploaded.

Since tests are just another module-system I decided to abstract away
common things by using it:

* Define a base module with
  * an empty `client` node and a `nextcloud` node with defaults
    shared among all tests.
  * rclone scripts that are used by all tests.
  * a `testScript` checking upload/download. Additional checks can be
    added via `test-helpers.extraTests`.

* Make common information such as admin user & password shared via
  options.

Also, changed the following things:

* The `name` of the final derivation also includes the Nextcloud major
  it was tested against.

* Improved the objecstore test by making sure the file was actually
  uploaded into the bucket.
2024-06-12 10:55:26 +02:00
Sandro
b4cb66799a
nixos/tests/vaultwarden: check for attachments, too 2024-06-12 10:46:30 +02:00
Félix
e01926a4ac
Merge pull request #318342 from stusmall/add-auto-cpufreq-assertion/master
nixos/power-profiles-daemon: Add assertion with auto-cpufreq
2024-06-12 10:34:48 +02:00
Jörg Thalheim
d0126c0508 make-disk-image: fix build for systems that use boot.loader.grub.devices
config.boot.loader.grub.device is just an alias that gets assigned to config.boot.loader.grub.devices.
If config.boot.loader.grub.device is set to null, it will fail with the following error
as described in https://github.com/nix-community/nixos-generators/issues/339
2024-06-12 08:27:18 +02:00
github-actions[bot]
d4adfab6df
Merge staging-next into staging 2024-06-12 06:01:24 +00:00
OTABI Tomoya
1f278a2082
Merge pull request #318384 from NyCodeGHG/nixos/renovate
nixos/renovate: init
2024-06-12 10:05:27 +09:00
github-actions[bot]
aaf691124c
Merge staging-next into staging 2024-06-11 18:01:49 +00:00
Marie Ramlow
dd8e2c72ad nixosTests.renovate: init vm test 2024-06-11 18:57:09 +02:00
Marie Ramlow
0adb3b8033 nixos/renovate: init 2024-06-11 18:57:04 +02:00
Sandro
5428ca74ce
Merge pull request #318924 from SuperSandro2000/317188
nixos/nvidia: fix eval with virtualisation.docker.enableNvidia enabled
2024-06-11 18:05:00 +02:00
Sandro Jäckel
319c97cfcb
nixos/nvidia: fix eval with virtualisation.docker.enableNvidia enabled 2024-06-11 16:02:24 +02:00
Sandro
7b48659268
Merge pull request #318919 from SuperSandro2000/locate-env
nixos/locate: only set LOCATE_PATH for findutils locate
2024-06-11 15:48:01 +02:00
Luflosi
4f8d158986
kubo: 0.28.0 -> 0.29.0
https://github.com/ipfs/kubo/releases/tag/v0.29.0

The FUSE mount functionality is no longer completely broken, so reenable the NixOS test.
2024-06-11 15:47:09 +02:00
Andrew Marshall
e1b0649603 nixos/tests/kernel-generic: add passthru for configfiles
See comment.
2024-06-11 09:09:23 -04:00
github-actions[bot]
f9c7b930b4
Merge staging-next into staging 2024-06-11 12:01:44 +00:00
h7x4
d952db86c9
nixos/vaultwarden: add test for backup script, fix flaky sqlite test 2024-06-11 13:10:44 +02:00
Maximilian Bosch
6ecafb1c38
nixos/nextcloud: fix objectstore/s3 test
* Make sure `withRcloneEnv` actually invokes the command it gets as
  `argv`. Until no, nothing was uploaded. This mistake was copied from
  the MySQL test that appears to have the same issue (will be addressed
  in the next commit).

* Test upload/download through with rclone once to see if Nextcloud
  interaction with S3 works fine.

* Make sure we actually have something in the bucket (until now with an
  `ls` and no real check, will do some larger cleanups and make this
  better in the next commit).

* Use actual AWS-style access keys.
2024-06-11 12:37:42 +02:00
Nguyễn Gia Phong
14c57ce7f7 nixos/public-inbox: make coderepo paths accessible
Fix typo in 03216e705c.
2024-06-11 19:32:59 +10:00
Ming-Chuan
9f488f27d7 nixos/initrd-ssh: Fix ignoreEmptyHostKeys description 2024-06-11 19:31:21 +10:00
Tom Fitzhenry
edd19efe4e nixos/shadow: clean up module 2024-06-11 19:28:32 +10:00
Tom Fitzhenry
725777250b nixos/shadow: introduce security.shadow.enable
Allow users to disable the shadow authentication suite.

My primary motivation is to reduce the attack surface via setuid
binaries, which shadow understandably introduces many. I realised,
however, that I don't use any of these.

The test demonstrates login working without needing the shadow suite.
2024-06-11 19:28:32 +10:00
rewine
cab913114a deepin: new deepin 23 components 2024-06-11 17:05:53 +08:00
rewine
ccbf715d43 deepin: don't install deepin-turbo as it's unmaintained 2024-06-11 17:05:53 +08:00
Jon Seager
5b403d5f9c
Merge pull request #318866 from f0x52/patch-3
nixos/scrutiny: Default collector API url to configured host + port
2024-06-11 08:46:03 +01:00
Jared Baur
d4d5fd718d
nixos/clatd: make client fetch PLAT prefix dynamically
We can expose the PLAT prefix to the client via DNS64 so clatd is able
to determine the prefix dynamically. We can also test that some
systemd-networkd PREF64 settings work as expected when exposed on the
router.
2024-06-11 00:41:10 -07:00
ibizaman
1bb9bf32b7 prometheus-deluge-exporter: init at 2.4.0-unstable-2024-06-02 2024-06-10 22:02:36 -07:00
github-actions[bot]
f0eb9d7e68
Merge staging-next into staging 2024-06-11 00:02:35 +00:00
Sandro
4a77c223c9
Merge pull request #269460 from tie/pghero
pghero: init at 3.4.1
2024-06-11 01:00:56 +02:00
Sandro Jäckel
8e66b653e8
nixos/locate: drop with lib{,.types}, misc cleanup 2024-06-11 00:44:19 +02:00
Sandro Jäckel
dec5ef74b0
nixos/locate: only set LOCATE_PATH for findutils locate
For plocate/mlocate it causes the results to be printed twice.
2024-06-11 00:10:09 +02:00
Felix Buehler
edcdf6ad3b nixos/freshrss: fix reload when config changes 2024-06-10 22:16:20 +02:00
euxane
e23df553b0 doc/release-notes: migration note for stalwart-mail user
This follows 6ee84bcda0.

Here I prefer a simple mention in the release notes instead of some
automatic migration, which could interfere with all the other changes
already potentially requiring some admin interventions.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2024-06-10 21:03:24 +02:00
github-actions[bot]
af63fa1bbe
Merge staging-next into staging 2024-06-10 18:01:48 +00:00
f0x52
5c922605bb
nixos/scrutiny: Default collector API url to configured host + port 2024-06-10 19:52:03 +02:00
Florian Klink
d2d2467118
Merge pull request #318306 from flokli/grafana-alloy-module
grafana-alloy: add NixOS module
2024-06-10 19:36:36 +03:00
Sandro
3d057cef0e
Merge pull request #316519 from michaelBelsanti/espanso
nixos/espanso: fix espanso options
2024-06-10 17:11:39 +02:00
Emmanuel Rosa
f06a960824
nixos/nvidia: optionally disable setup commands for reverse sync (#318521)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-10 16:57:45 +02:00
Sandro
da3214b120
Merge pull request #309551 from aca/master 2024-06-10 15:48:32 +02:00
Matthias Beyer
8a9a6c764e
Merge pull request #314422 from eclairevoyant/journalwatch-fix-module
nixos/journalwatch: add package option
2024-06-10 15:26:15 +02:00