Commit Graph

34902 Commits

Author SHA1 Message Date
Leona Maroni
2ba711361f
gitlab: 17.3.7 -> 17.5.2 (#360160) 2024-11-30 09:51:21 +01:00
Franz Pletz
357fff0f44
nixos/networkd: allow configuring RTTSec for CAKE qdisc (#285737) 2024-11-30 07:25:54 +01:00
Franz Pletz
18cf9ad14b
nixos/networkd: fix eval
Broken by #330662.
2024-11-30 07:08:18 +01:00
Franz Pletz
e383460f09
nixos/networkd: add dhcpServerConfig.PersistLeases option (#353189) 2024-11-30 06:46:51 +01:00
Franz Pletz
e5a4cc81ab
nixos/networkd: add some new options in systemd 256 (#330662) 2024-11-30 06:44:55 +01:00
Aleksana
88bd81e177
gkraken,nixos/gkraken: Drop (#358200) 2024-11-30 10:54:30 +08:00
Fernando Rodrigues
02e1f93cb4
nixos/version: add extraOSReleaseArgs and extraLSBReleaseArgs
A free-form `attrsOf str` option that is merged with the /etc/os-release
builder, allowing downstreams to customise arbitrary os-release fields.
This is separate from the variant option, as using an attribute set
merge means one gets an infinte recursion when making extraOSReleaseArgs
a recursive set, and the variant attribute is useful to define elsewhere
or multiple times.

Ditto for /etc/lsb-release.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:58:29 -03:00
Fernando Rodrigues
b4d7b9ade2
nixos/version: use 24-bit ANSI colour code
It's almost 2025; we don't need to use 3-bit colour anymore. Let's use
the proper colour code for NixOS' light blue:
ea1384e183/logo/README.md (colours)

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:56:30 -03:00
jopejoe1
bf5d64a130
nixos/os-release: make default_hostname distribution default (#359571) 2024-11-29 22:54:21 +00:00
Jonas Chevalier
223586a617
virtualisation: Use system.build.image, normalize file names (#359339) 2024-11-29 22:54:17 +01:00
Robert Schütz
61f3a9680a nixos/prometheus.exporters.unifi: drop
The corresponding package was dropped in 826bef9b51.
2024-11-29 22:49:29 +01:00
Maximilian Bosch
cf28257e4f
Merge: percona-server_8_0: 8.0.37-29 -> 8.0.39-30, percona-server: 8.4.0-1 -> 8.4.2-2 (#359824) 2024-11-29 22:16:16 +01:00
Maximilian Bosch
c055f6bc0a
nixos/mysql: fix evaluation of percona test
Commit e14483d6a6 fixed a bug in the `ini`
type with `listsAsDuplicatedKeys = true;`: multiple list declarations
weren't merged, but latter declarations shadowed the former without any
error.

The fix brought another issue to surface however: before, the
`plugin-load-add` declaration in the MySQL test shadowed the
`auth_socket.so` setting in the module. But now the attempt
to merge a list and a single declaration breaks because of
`types.either` seeing a mix of declarations from the left
AND right type.

Turning the `plugin-load-add` in the module into a list triggers the
correct merging behavior and thus fixes the evaluation error (and
merging behavior of `plugin-load-add`)!

This wasn't an issue for mysql itself (empty `plugin-load-add` in the
test) and neither for mariadb (the `auth_socket.so` isn't added for
this).
2024-11-29 21:55:49 +01:00
Philip Taron
a403221cb8
treewide/nixos: remove with lib; part 3 (#335623) 2024-11-29 10:10:53 -08:00
Fedi Jamoussi
b9da4f27d9
nixos/omnom: init module (#357830) 2024-11-29 18:34:24 +01:00
Alexander Sieg
eebd4c3b01
gitlab: 17.3.7 -> 17.5.2 2024-11-29 17:51:19 +01:00
phaer
c78003c4e0 image/images: Add image modules defined in virtualisation/ 2024-11-29 17:13:54 +01:00
phaer
91d74082c4 virtualisation/proxmox-lxc: use system.build.image 2024-11-29 17:13:54 +01:00
phaer
06ad3811a8 virtualisation/lxc-container: use system.build.image 2024-11-29 17:13:52 +01:00
phaer
f3563c996e virtualisation/azure-image: use system.build.image 2024-11-29 17:12:27 +01:00
phaer
77fce1dc58 virtualisation/digital-ocean: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
41db5209c7 virtualisation/google-compute: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a230d5228d virtualisation/hyperv-image: hyperv.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
6d50a8c57f virtualisation/kubevirt: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
d8410d8366 virtualisation/oci-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
a0ce661c99 virtualisation/proxmox-image: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
342a5021df virtualisation/vagrant-virtualbox: use system.build.image 2024-11-29 17:12:26 +01:00
phaer
6cc7449e30 virtualisation/virtualbox: virtualbox.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
b0b3a75676 virtualisation/vmware-image: vmware.vmFileName -> image.fileName 2024-11-29 17:12:26 +01:00
phaer
47c83cb438 virtualisation/linode-image: Use system.build.image 2024-11-29 17:12:26 +01:00
phaer
40142caad0 format files with nixfmt 2024-11-29 17:12:26 +01:00
Adam C. Stephens
6de1312a38
nixos/lxc/container: fix useDhcp with veth (#358806) 2024-11-29 10:45:09 -05:00
Adam C. Stephens
f50a1bd99d
nixos/lxc/container: fix useDhcp with veth
https://github.com/NixOS/nixpkgs/pull/347283 changed the default to
exclude non-physical network Kind, but that unfortunately also includes
`veth` which LXC uses for its network interfaces. Re-enable that
functionality so users can use networkd with useDHCP.
2024-11-29 10:37:14 -05:00
Sefa Eyeoglu
854baca4aa
nixos/renovate: unset service restart (#359403) 2024-11-29 15:22:05 +01:00
Victor Engmark
7389d32232
nixos/cupsd: Fix permissions on shared directories
`/var/cache`, `/var/lib`, and `/var/spool` all have 0755 permissions by
default, so should probably be created as such in this script.

See #357447 for discussion.
2024-11-29 21:50:04 +13:00
Sandro
1d62a85ff5
nixos/mailman: add option to expand the uwsgi settings (#333315) 2024-11-29 00:53:55 +01:00
Victor Engmark
bfe7bb410f nixos/printing: fix ShellCheck issues
ShellCheck reports the following:

> SC2174 (warning): When used with -p, -m only applies to the deepest
> directory.

Avoid this warning by splitting `mkdir -m MODE -p DIR` into
`(umask MASK && mkdir -p DIR)`.
2024-11-28 22:41:11 +01:00
Felix Buehler
07894f4f30 nixos/services.stunnel: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
93d6b8180e nixos/services.oink: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2d4a4c110a nixos/services.nylon: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
2bf4393a9b nixos/networking.nftables: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
83cc2cd01f nixos/services.nebula: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e14d1dc198 nixos/services.ncdns: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
e4ffb753b1 nixos/services.glusterfs: remove with lib; 2024-11-28 19:08:42 +01:00
Felix Buehler
4dbf3a75ae nixos/services.drbd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
44985668d8 nixos/services.diod: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
a9748cc118 nixos/services.cachefilesd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
5f44beaebb nixos/services.watchdogd: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
e8e5c6c79b nixos/services.vnstat: remove with lib; 2024-11-28 19:08:41 +01:00
Felix Buehler
cc88c367bb nixos/services.uptime-kuma: remove with lib; 2024-11-28 19:08:41 +01:00