Commit Graph

8052 Commits

Author SHA1 Message Date
r-vdp
9258f57625
systemd: add a name option to all systemd units
This allows us to set things like dependencies in a way that we can
catch typos at eval time.
So instead of
```nix
systemd.services.foo.wants = [ "bar.service" ];
```
we can write
```nix
systemd.services.foo.wants = [ config.systemd.services.bar.name ];
```
which will throw an error if no such service has been defined.

Not all cases can be done like this (eg template services), but in a lot
of cases this will allow to avoid typos.

There is a matching option on the unit option
(`systemd.units."foo.service".name`) as well.
2024-04-15 11:32:45 +02:00
lassulus
44f5a5f39c
Merge pull request #300917 from Tom-Hubrecht/crabfit
crabfit: init at unstable-2023-08-02
2024-04-13 20:29:09 +02:00
stuebinm
6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Tom Hubrecht
96659af197 nixos/crabfit: init 2024-04-13 18:51:02 +02:00
Thomas Gerbet
8aa99de316
Merge pull request #300343 from tcmal/akkoma-update-main
akkoma: 3.11.0 -> 3.12.1
2024-04-12 23:13:10 +02:00
Pol Dellaiera
6ac255deb5
Merge pull request #296500 from Janik-Haag/networking-tests
nixosTests.networking: split router into a separate file and remove `with lib;` antipattern
2024-04-12 22:35:08 +02:00
lassulus
ad4c8244f1
Merge pull request #278984 from birkb/drbd-kernel-module
drbd: 9.19.1 -> 9.27.0 (utils), 9.2.7 kernel driver added
2024-04-12 21:53:55 +02:00
Weijia Wang
11f3e0c15d mongodb-4_4: drop 2024-04-12 12:30:40 +02:00
Aleksana
2a057805ae
Merge pull request #301804 from helsinki-systems/init/keydb
keydb: init at 6.3.4
2024-04-12 16:33:36 +08:00
Weijia Wang
859f329868
Merge pull request #303492 from nbdd0121/unifi
unifi: remove unifiLTS, unifi5, unifi6
2024-04-12 09:47:15 +02:00
Gary Guo
c4e5381072 unifi: remove unifiLTS, unifi5, unifi6 2024-04-12 00:33:16 +01:00
lassulus
4cde9116a1
Merge pull request #296641 from toastal/movim-service
nixos/movim: init, movim: additions + patches
2024-04-11 21:02:07 +02:00
toastal
fcc7c53e9c nixos/movim: add service module 2024-04-11 23:26:11 +07:00
Bobby Rong
a1b567757b
Merge pull request #303115 from bobby285271/upd/exclude-pkgs
nixos/{budgie,cinnamon,pantheon}: Don't enable modules for excludePackages
2024-04-11 20:41:13 +08:00
Simon Hauser
b3642388fe
keydb: init at 6.3.4 2024-04-11 10:47:07 +02:00
Pascal Bach
a8eaee11a9
Merge pull request #296459 from MinerSebas/restic-rest-server-hardening
nixos/restic-rest-server:  Add additional service hardening
2024-04-10 23:33:34 +02:00
Bobby Rong
2a8a59aebb
nixos/budgie: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:33:34 +08:00
Bobby Rong
a6ada0502b
nixos/pantheon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877

While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds.
2024-04-10 21:27:31 +08:00
Bobby Rong
14c7a500c0
nixos/cinnamon: Don't enable modules for excludePackages
ref: bc970e94e7
ref: nixpkgs issue 299877
2024-04-10 21:14:43 +08:00
tcmal
d598b5d88d nixos/akkoma: check that upload and media proxy base url is specified
new versions of akkoma require the upload base url to be specified in
order for updates to work properly.
this will be a breaking change in 24.05, but for now a reasonable
default is set.
2024-04-09 13:58:03 +01:00
Sandro
4cc6ce454d
Merge pull request #291913 from SuperSandro2000/sddm-wayland-only 2024-04-09 14:31:12 +02:00
Robert Schütz
0dca19054c
Merge pull request #302389 from SuperSandro2000/vaultwarden-webvault
vaultwarden.webvault: 2024.3.0 -> 2024.3.1
2024-04-09 03:49:54 +00:00
Sandro Jäckel
b6e0c42bc2
tests/vaultwarden: adjust to changes in frontend 2024-04-09 00:05:35 +02:00
Sandro Jäckel
476b8c276e
treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00
Sandro
b32f206faa
Merge pull request #258520 from Benjamin-L/soju-admin-socket 2024-04-08 10:20:31 +02:00
Robert Hensing
c740c98fc1
Merge pull request #292760 from PigeonF/dockertools-build-layered-compressor
dockerTools: Fix changing compression method for `buildLayeredImage`
2024-04-08 09:24:18 +02:00
Weijia Wang
d217732cef
Merge pull request #302195 from anthonyroussel/fix-oddjobd
nixos/oddjobd: enable dbus service to fix service startup
2024-04-07 22:52:46 +02:00
Julien Malka
668834f72c
Merge pull request #295736 from mjm/bcachefs-clevis-systemd 2024-04-07 22:51:56 +02:00
Benjamin Lee
e9fed4bcad
nixos/soju: add tests
For now, just try creating a user with sojuctl. Actually connecting an
irc client is pretty annoying.
2024-04-07 13:45:47 -07:00
Anthony Roussel
b0f78fba37
nixosTests.oddjobd: init 2024-04-07 20:29:21 +02:00
Kira Bruneau
f0034ee975
Merge pull request #297517 from kira-bruneau/nixos-containers
nixos/nixos-containers: require mounts for bind mount host paths
2024-04-06 18:07:45 -04:00
K900
2975aecbcb nixos/tests/switch-test: s/dbus.service/dbus-broker.service/g
Fixes the test after the default DBus implementation change.
2024-04-06 23:21:06 +03:00
Julien Malka
5afb7f3528 nixos/tests: add clevisBcachefs tests to installer-systemd-stage-1 tests 2024-04-05 15:25:01 +00:00
Kerstin
89000ace32
Merge pull request #299460 from linyinfeng/hledger-web
nixos/hledger-web: fix access control option
2024-04-05 17:04:47 +02:00
Bobby Rong
29f96f114b
Merge pull request #301847 from bobby285271/upd/pantheon
pantheon.gala: Fix missing URI handler
2024-04-05 22:53:24 +08:00
Bobby Rong
bd3f680d37
pantheon.gala: Backport Wayland menu commit
gala-daemon actually needs a correct environment for `AppInfo.launch_default_for_uri`.
2024-04-05 21:23:11 +08:00
Ryan Lahfa
99ca8d4ea5
Merge pull request #300757 from K900/installer-tests-unfucking
nixos/tests/installer: spring cleaning
2024-04-05 03:50:39 -07:00
K900
15d95c7b74 nixos/qemu-vm: split up the "keep EFI variables from system image" logic 2024-04-05 09:00:12 +03:00
Weijia Wang
c821c015c5
Merge pull request #291346 from aorith/init-silverbullet
silverbullet: init at 0.7.6
2024-04-05 06:31:50 +02:00
Kira Bruneau
7f3643bef6 nixos/nixos-containers: require mounts for bind mount host paths
Fixes starting containers before bind mount host paths are mounted
2024-04-04 19:48:15 -04:00
Kevin Cox
9c636e8416
Merge pull request #296718 from Rutherther/mautrix-meta-init
mautrix-meta: init at 0.2.0
2024-04-04 18:07:19 -04:00
K900
6f139367a3
Merge pull request #301617 from K900/kernels-20240404
Kernel updates for 2024-04-04
2024-04-04 23:40:39 +03:00
K900
b71cc870b6 linux_6_7: drop 2024-04-04 22:45:46 +03:00
Pol Dellaiera
53e51b19d4
Merge pull request #298742 from FabianRig/technitium-dns-server-module
nixos/technitium-dns-server: init module
2024-04-04 21:43:08 +02:00
Emily
053ab7f57c
Merge pull request #300981 from emilylange/forgejo-ldflags
forgejo: add missing internal version ldflags, nixosTests.forgejo: test /api/forgejo/v1/version
2024-04-04 21:31:02 +02:00
Florian Klink
1fb00f1396 mycelium: 0.4.5 -> 0.5.0
Changed
 - Connection identifier is now included in the error log if we can't forward a
 - seqno request.
 - Garbage collection time for source entries has been increased from 5 to 30 minutes
 - for now.
 - The router implementation has been changed to use regular locks instead of an
 - always readable concurrency primitive for all but the actual routing table. This
 - should reduce the memory consumption a bit.
 - Public key and shared secret for a destination are now saved on the router, instead
 - of maintaining a separate mapping for them. This slightly reduces memory consumption
 - of the router, and ensures stale data is properly cleaned up when all routes to
 - a subnet are removed.
 - Hello packets now set the interval in which the next Hello will be sent properly
 - in centiseconds.
 - IHU packets now set the interval properly in centiseconds.
 - IHU packets now set an RX cost. For now this is the link cost, in the future
 - this will be set properly.
 - Route expiration time is now calculated from the interval received in updates.
 - Ip address derivation from public keys now uses the blake3 hash algorithm.

Fixed
 - Don't try to forward seqno requests to a peer if we know its connection is dead.
2024-04-04 12:44:23 +03:00
Pol Dellaiera
e7cc626902
nixos/modules: add technitium-dns-server tests 2024-04-04 08:35:07 +02:00
Christian Kögler
29b575a0e8
Merge pull request #300728 from ck3d/nixos-test-machinectl-import-tar
nixos/test/machinectl: Add import-tar test
2024-04-03 22:58:06 +02:00
Rick van Schijndel
2600c7f38c
Merge pull request #297392 from Mindavi/hydra/2024-03-08
hydra_unstable: 2023-12-24 -> 2024-03-08, use nix_2_20
2024-04-03 20:59:45 +02:00
K900
7b602cff5c nixos/tests/installer: avoid create_machine, clean up
- use normal VM nodes for target, with some extra trickery
- rename preBootCommands to postBootCommands to match its actual intent
- rename VMs to installer and target, so they're not all called machine
- set platforms on non-UEFI tests properly
- add missing packages for systemd-boot test
- fix initrd secrets leaking into the store and having wrong paths
2024-04-03 16:16:11 +03:00