Commit Graph

45982 Commits

Author SHA1 Message Date
Claes Hallström
d174bf438b nixos/glances: init module 2024-11-13 00:06:47 +01:00
ginkogruen
aa79218b2c
nixos/protonmail-bridge: fix typo
protonmail-bride's --> protonmail-bridge's
2024-11-12 21:55:34 +01:00
Wolfgang Walther
9486472352
nixosTests.postgresql: run tests with JIT as well
This was intended for quite some time already, but ever since enableJIT
was changed to be the source of truth of JIT-iness for the PostgreSQL
module, this hasn't worked for the tests anymore.
2024-11-12 21:04:41 +01:00
Maximilian Bosch
dbd8326b7f
Merge: wordpress: drop unmaintained release (#355291) 2024-11-12 19:20:25 +01:00
Sandro
681bc920f8
nixos/libvirt: fix shellcheck findings with enableStrictShellChecks enabled (#349620) 2024-11-12 19:18:26 +01:00
Sandro
1556ad266a
nixos/changedetection-io: fix creation of data dir (#318666) 2024-11-12 19:10:53 +01:00
Sandro
6bfde7268f
evremap: init at 0-unstable-2024-06-17, nixos/evremap: init module (#352720) 2024-11-12 18:41:51 +01:00
Sandro Jäckel
18135de79a
nixos/firefox: dedupe identically nativeMessageHosts packages 2024-11-12 18:00:50 +01:00
Sandro
c9428444e2
nixos/fail2ban: fix typo (#355328) 2024-11-12 16:12:18 +01:00
Florian Klink
cb88cda0d4
nixos/systemd-stage-1: Do not run code from stage 2 until it's actually time to switch-root. (#355166) 2024-11-12 12:04:54 +01:00
Valentin Gagarin
50ff833cd8 devmode: move to pkgs/by-name
now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.devmode.override {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
Valentin Gagarin
b94f54b7a0 devmode: make reusable
the `devmode` helper made for the Nixpkgs/NixOS manual was exposed wrapped
in `mkShell`, which made it impossible to reuse.

this change strips that wrapper and reproduces it at the call site.

now one can use `devmode` from anywhere Nixpkgs is available:

    devmode = pkgs.callPackage "${pkgs.path}/pkgs/tools/nix/web-devmode.nix" {
      buildArgs = toString ./.;
      open = "/index.html";
    };
2024-11-12 10:16:58 +01:00
Paul Meyer
b4fda70c49
nixos/athens: update docs (#354508) 2024-11-12 08:28:14 +01:00
K900
5703364874
nixos/graphics: clarify assertion message for enable32Bit configuration (#355033) 2024-11-12 06:17:47 +03:00
Cryolitia PukNgae
8b1cd0960b
nixos/graphics: clarify assertion message for enable32Bit configuration
The original message is really confusing, when you wrongly enable it on aarch64.
2024-11-12 11:15:26 +08:00
Noah Gitsham
bc5033805a nixos/fail2ban: fix typo
bellow -> below
2024-11-12 01:52:37 +00:00
Yt
c0c77416ac
vector: fix service using pkgs.vector regardless package option (#354316) 2024-11-11 19:09:22 -05:00
Weijia Wang
40d6aaaeb1 wordpress: drop unmaintained release 2024-11-11 23:26:22 +01:00
Cosima Neidahl
e1b70fb061
nixos/lomiri: Better support stand-alone greeter usage (#352425) 2024-11-11 20:00:29 +01:00
Artturin
3a7266fcef
mutmut: 2.2.0 -> 3.2.0 (#350120) 2024-11-11 19:28:05 +02:00
Sandro
ba2f9f2fff
nixos/grafana: fix evaluation when no settings is defined (#354361) 2024-11-11 15:00:45 +01:00
Sandro
3d5dcee08a
nixos/udisks2: add package option (#293495) 2024-11-11 14:57:07 +01:00
Will Fancher
6cfd95fc8c nixos/systemd-stage-1: Order nixos activation after initrd-switch-root.target
Now it's placed between initrd-switch-root.target and
initrd-switch-root.service, meaning it is truly the last thing to
happen before switch-root, as it should be.
2024-11-11 05:52:18 -05:00
Will Fancher
f065a81ab4 nixos/systemd-stage-1: Use chroot-realpath 2024-11-11 05:52:18 -05:00
Aleksana
dbed5a6265
nixos/mysql: fix permission error during first startup (#331296) 2024-11-11 18:49:32 +08:00
Paul Meyer
ed5d274df7 nixos/athens: update docs
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-11-11 11:42:08 +01:00
Franz Pletz
f1b26f503a
nitrokey-udev-rules: init at 1.0.0 (#352481) 2024-11-11 10:54:55 +01:00
h7x4
97ca8ccb15
nixos/roundcube: add example for database.passwordFile (#348166) 2024-11-11 08:27:50 +01:00
Victor Engmark
4b610f43ae
mutmut: 2.2.0 -> 3.2.0
With dependencies from the upstream requirements file
<https://github.com/boxed/mutmut/blob/3.2.0/requirements.txt>.
2024-11-11 13:48:37 +13:00
Weijia Wang
99ad7da9e3
nixosTests.frr: fix node.router.config warning (#354710) 2024-11-11 00:54:13 +01:00
Martin Weinelt
20ee593171
nixos/frigate: Set SyslogIdentifier for better log entries (#355088) 2024-11-11 00:23:54 +01:00
Andrew Marshall
dac96aac49 nixos/frigate: Set SyslogIdentifier for better log entries
Systemd defaults to the name of the exec-ed process, which in this case
is python. That's not so helpful when looking through syslog, so adjust
accordingly.
2024-11-10 17:49:20 -05:00
K900
871087c18d
nixos/acme: do not limit credentials functionality to DNS/S3 config (#348344) 2024-11-11 01:43:53 +03:00
Sandro
8c164faef4
nixos/nextcloud-notify_push: fix defaultText rendering (#352479) 2024-11-10 23:42:18 +01:00
Thiago Kenji Okada
44bbe5ddad
nixos/{boinc,guix}: Use exec to start the payload binary of the service (#297526) 2024-11-10 17:35:24 +00:00
Austin Horstman
f5f87e7240
dashy-ui: init at 3.1.1-unstable-2024-07-14 (#349149) 2024-11-10 09:35:31 -06:00
Maximilian Bosch
9a333460f5
Merge: postgresql: improve passthru.tests (#352966) 2024-11-10 15:34:04 +01:00
Weijia Wang
5b916fd897
nixos/openvpn3: add /etc/openvpn3/configs to systemd.tmpfiles (#353832) 2024-11-10 13:00:09 +01:00
Sefa Eyeoglu
e9c53bdf9a
nixos/localsend: add package option & allow udp port (#333485) 2024-11-10 12:47:30 +01:00
Florian
07ca74e134
teamviewer: add services.teamviewer.package Option + misc improvemens (#346365) 2024-11-10 11:44:54 +01:00
Winter
f0000fe56d
lib/minver: bump to 2.3.17 (#354586) 2024-11-09 21:32:02 -05:00
TheRealGramdalf
7f76ced733 nixos/dashy: init module 2024-11-10 00:04:25 +00:00
Robert Schütz
06be8564e5
immich: 1.119.1 -> 1.120.1 (#354083) 2024-11-09 14:53:47 -08:00
Robert Schütz
ee1cffa25c immich: 1.119.1 -> 1.120.1
Changelog: https://github.com/immich-app/immich/releases/tag/v1.120.0
           https://github.com/immich-app/immich/releases/tag/v1.120.1
2024-11-09 14:44:21 -08:00
Wolfgang
9563f469c1 nixos/duckdns: init module 2024-11-09 22:27:14 +01:00
Wolfgang Walther
45cef36e39
nixosTests.postgresql: run nixfmt
Because with as many changes as in here anybody working on those test
files will have merge conflicts anyway.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
128244b598
nixosTests.postgresql: use a common pattern throughout all tests
Avoiding "with", using the same names and basic structure in each test.

Consistency is key!
2024-11-09 18:24:52 +01:00
Wolfgang Walther
9035573855
nixosTests.postgresql: move all postgresql related nixosTests into one folder
This makes it possible to run all those tests at once by building
nixosTests.postgresql and allow a simple entry to ci/OWNERS for all
tests.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
db2d6a00ab
postgresqlPackages.anonymizer: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
23c19a255f
postgresqlPackages.timescaledb: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
6d7da20a90
postgresqlPackages.tsja: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:52 +01:00
Wolfgang Walther
a5c41ae80a
postgresqlPackages.pgvecto-rs: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
0af934adf7
postgresqlPackages.pgjwt: make passthru.tests work with correct package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
ecffab1fda
postgresqlPackages.postgis: move nixosTests.postgis into package
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
aded718a98
postgresqlPackages.apache_datasketches: move nixosTests.apache_datasketches into package
There is no need to fire up a whole VM just to run a two line test of
creating the extension. We can use postgresqlTestExtension for that.
This has the advantage that it runs with postgresqlTestHook, so without
a VM, making it more portable.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
139c546676
postgresql: add passthru.tests.postgresql-tls-client-cert
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
f6c2de9262
postgresql: add passthru.tests.postgresql
Restructuring the nixosTests.postgresql test a little bit to allow
calling it with the specific versioned package from generic.nix.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
319d82d5c2
nixosTests.postgresql-wal2json: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:51 +01:00
Wolfgang Walther
65ef7381c8
nixosTests.postgresql-jit: avoid manual imports
Same reasoning as commit before.
2024-11-09 18:24:50 +01:00
Wolfgang Walther
a1ae4377e0
nixosTests.postgresql-wal-receiver: avoid manual imports
Manually importing postgresql packages from the /pkgs/ folder or
manually importing the test from /nixos/tests/ in generic.nix is not
only ugly, but also forbidden should we ever move to pkgs/by-name.

We can achieve almost the same with a slightly different setup. We allow
overriding the postgresql package for the test via passthru.override, to
make sure that each postgresql_xx.tests.postgresql-wal-receiver is
properly teted with the right version.
2024-11-09 18:24:50 +01:00
Wolfgang Walther
d3feaaebea
nixosTests.pgjwt: fix test
This seems to have broken years ago, because "CREATE EXTENSION
pgcrypto;" etc. were added to the upstream file about 6 years ago.
2024-11-09 18:23:58 +01:00
Jozef Hollý
be97874351
Fix: use lib.mkPackageOption 2024-11-09 13:09:08 +01:00
Jozef Hollý
ba83a0dba0
Merge branch 'master' into patch-1 2024-11-09 13:07:47 +01:00
Jozef Hollý
a96dce89d0
PR feedback: Replace pkg variable, move package statement 2024-11-09 13:06:56 +01:00
Sleeping-Donut
df20742283
ombi: allow overriding package in module (#345814)
* ombi: allow overriding package in module

* nixos/ombi: replace explicit bin path with getExe function

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>

---------

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2024-11-09 12:05:54 +01:00
jopejoe1
eeb4b70419
nixos/hebbot: Fix systemd service (#354098) 2024-11-09 11:38:13 +01:00
Noa Aarts
1cc81439e7
nixosTests.frr: fix warning, use nodes.router instead of nodes.router.config 2024-11-09 09:28:11 +01:00
Noa Aarts
f93219dfa0
nixosTests.frr: format using nixfmt 2024-11-09 09:27:24 +01:00
K900
4a2c7def57
nixos/tools: Make the tools derivations overridable (#353173) 2024-11-09 10:20:19 +03:00
K900
58626b7634
nixos/tests/acme: explicitly start the targets we wait for (#354629) 2024-11-09 09:58:58 +03:00
K900
c8fd06c3b2 nixos/tests/acme: wait for server to run before starting the target
This is really an ordering issue in the ACME module itself,
but while we think of how to fix it, this should at least unflake
the tests.
2024-11-09 09:40:38 +03:00
Weijia Wang
da5252dd31
nixosTests.retroarch: fix test by changing window title (#354067) 2024-11-09 01:03:07 +01:00
Peder Bergebakken Sundt
dcc6e1558c
nixos/keepassxc: fix test (#353938) 2024-11-09 00:10:04 +01:00
K900
ee6df93fe2 nixos/tests/acme: explicitly start the targets we wait for
This should address the other source of flakiness in the test.
2024-11-09 01:57:35 +03:00
sternenseemann
9c075c8fa5 gnat: 12.4.0 -> 13.3.0
This matches the default gcc version.
2024-11-08 23:51:09 +01:00
Martin Weinelt
086bfa2385
lib/minver: bump to 2.3.17
The first version that supports zstd compression, to create the option
to eventually switch compression for the binary cache.

It was released one year ago on 2023-11-03 and first shipped in NixOS
23.11.
2024-11-08 22:23:29 +01:00
Emily
df07f2434a
Clean up VirtualBox demo appliance residue (#354282) 2024-11-08 18:02:50 +00:00
K900
0453fe2395
{apache,caddy,nginx}: not "before" ACME certs using DNS validation (#336412) 2024-11-08 18:50:28 +03:00
Leah Amelia Chen
41e907f884
nixos/evremap: init module 2024-11-08 09:31:27 +01:00
Jenny
b769f673e7
nixos/authelia: start after network-online.target (#353542) 2024-11-08 09:00:14 +01:00
Jenny
8db885974b
nixos/promtail: configFile for passing path as config (#322426) 2024-11-08 08:58:33 +01:00
ThinkChaos
c5450fcb4b
nixos/authelia: start after network-online.target 2024-11-07 20:24:05 -05:00
ThinkChaos
b432e86caf
nixos/acme: remove unused binding in tests 2024-11-07 20:19:12 -05:00
ThinkChaos
1bd7f1374d
nixos/acme: use non deprecated CLI flag for dnsPropagationCheck 2024-11-07 20:19:12 -05:00
ThinkChaos
3c2e82337d
nixos/web-servers: assert ACME cert access via service user and groups
Allows giving access using SupplementaryGroups.
2024-11-07 20:19:12 -05:00
ThinkChaos
03122b43c8
nixos/nginx: not "before" ACME certs using DNS validation
Relax dependency with certs that are validated via DNS challenge since
we know the HTTP server is not required for that validation.
This allows marking the server's service as depending on the cert.
2024-11-07 20:19:12 -05:00
ThinkChaos
26d6294deb
nixos/caddy: not "before" ACME certs using DNS validation
Relax dependency with certs that are validated via DNS challenge since
we know the HTTP server is not required for that validation.
This allows marking the server's service as depending on the cert.
2024-11-07 20:19:12 -05:00
ThinkChaos
b99d3a4f8b
nixos/apache: not "before" ACME certs using DNS validation
Relax dependency with certs that are validated via DNS challenge since
we know the HTTP server is not required for that validation.
This allows marking the server's service as depending on the cert.
2024-11-07 20:18:20 -05:00
Sandro Jäckel
d1f7424888
nixos/grafana: fix evaluation when no settings is defined
Before it would fail on line 11 where we check if postgres is used with
an error that the undefined option settings was accessed.
2024-11-08 01:08:11 +01:00
Emily
b28c1ff248 nixos/doc/rl-2411: note VirtualBox demo appliance removal 2024-11-07 23:41:51 +00:00
Emily
ff5fea0a29 nixos/{demo,installer/virtualbox-demo}: drop
This is no longer referenced anywhere and so will inevitably bitrot,
and doesn’t do anything that isn’t simple to achieve with the
module documentation.
2024-11-07 23:41:51 +00:00
KX
518bc9c5b3 nixos/promtail: configFile for passing path as config 2024-11-07 22:53:22 +01:00
jonboh
f81a2c1514 fix: use selected package instead of pkgs.vector 2024-11-07 21:24:21 +01:00
Emily
3a6d4d006a
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc (#354197) 2024-11-07 18:16:05 +00:00
Emily
71ab6ba171
nixos/release{,-combined}: drop the VirtualBox OVA (#352603) 2024-11-07 17:36:51 +00:00
Jenny
1b171c15ab
nixos/mobilizon: change psql socket dir to none symlinked directory (#352508) 2024-11-07 14:01:37 +01:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Maximilian Bosch
652b22a375
Merge: Linux Hardened Kernel Updates for 2024-11-06 (#354110) 2024-11-07 09:42:02 +01:00
Jenny
eb95c0d624
nixos/conduit: wait for network-online.target (#353634) 2024-11-07 08:57:14 +01:00
Tristan Ross
7aaa361ae5
doc/release-notes: initial cleanup for 24.11 (#346059) 2024-11-06 21:22:31 -08:00