Commit Graph

32959 Commits

Author SHA1 Message Date
Benno Bielmeier
b8c7d88784 nixos/services.thinkfan: fix undefined variables
In d9dc50dc11 the usage of `with lib;` has
been removed from thinkfan.nix. Unfortunately, adjusting the check line
and its usage of the functions all,id,zipListsWith has not been updated
resulting in evaluation errors complaining about "undefined variable".
Update: partly covered in 0646a0771b of #339084

rel: #208242
2024-09-03 10:42:28 +02:00
Pol Dellaiera
930e12b9e8
nixos/services.openssh: remove with lib; (#339092) 2024-09-03 10:18:32 +02:00
K900
878922a902 nixos/installation-device: use a bigger hammer
Untrimmed mbrola-voices is leaking into the installer images again.
Instead of trying to manually squash every path it could possibly
leak through, use a very big hammer.
2024-09-03 10:53:25 +03:00
Jon Seager
d6834ede48
nixos/vmware.guest: disable xf86inputvmmouse on aarch64 (#326395) 2024-09-03 08:02:55 +01:00
Christina Sørensen
ed1dc0d441
nixos/kubernetes: amend dns addon clusterDns list (#338801) 2024-09-03 09:01:25 +02:00
Jörg Thalheim
a9034a9c35
nixos/grub: fix value precedence with optional -> mkIf (#338773) 2024-09-03 08:29:25 +02:00
Emily
2419b85a5e
nixos/syncplay: add missing options (#338579) 2024-09-03 04:36:51 +01:00
Assistant
8119ec6478 nixos/syncplay: add missing options
Exposes all currently available command-line arguments that were
missing, including some that were impossible to use with the catch-all
option `extraArgs` alone, requiring changes to other parts of the
system.
Those are now all self-contained in the module.
The service now uses systemd's `DynamicUsers`.
2024-09-02 22:26:11 -04:00
Bernardo Meurer
fc13b0acdb
Merge branch 'master' into add-rutorrent-service 2024-09-03 01:18:16 +00:00
Felix Buehler
e1281c7a9d nixos/services.factorio: fix escapeShellArg 2024-09-02 23:47:15 +02:00
Felix Buehler
5f8696e39c nixos/services.openssh: remove with lib; 2024-09-02 22:31:36 +02:00
Felix Buehler
31c38324dd nixos/services.ceph: remove with lib; 2024-09-02 22:30:59 +02:00
Felix Buehler
f57a188819 nixos/services.unpoller: remove with lib; 2024-09-02 22:30:26 +02:00
Felix Bühler
1f34eeb672
nixos/services.thinkfan: fix all & id (#339084) 2024-09-02 22:21:06 +02:00
Felix Bühler
8dd85c637c
nixos/services.zammad: remove with lib; (#338051) 2024-09-02 21:42:59 +02:00
Felix Buehler
0646a0771b nixos/services.thinkfan: fix all & id 2024-09-02 21:12:56 +02:00
Frédéric Christ
aab2bd233c nixos/mautrix-signal: Adapt to new configuration
With mautrix-signal v0.7.0 the bridge is built upon the bridgev2
architecture. With this, the configuration file was slightly rearranged.
Options like login_shared_secret_map and double_puppet_server_map were
dropped.
2024-09-02 20:47:10 +02:00
Frédéric Christ
e38c90b7c9 nixos/mautrix-signal: Reformat code 2024-09-02 20:40:36 +02:00
linsui
d572c865ad nixos/foot: fix bash script 2024-09-03 02:27:22 +08:00
Zhong Jianxin
422ae9928a nixos/services.bees: Fix evaluation
```
error: undefined variable 'mod'
```
2024-09-02 19:23:52 +08:00
phaer
53df1e4ece virtualisation/qemu-vm: disallow nullable diskSize
Because `virtualisation.diskSize = null` does result in a broken vm runner,
see https://github.com/NixOS/nixpkgs/issues/292901.

diskSize was declared to be nullable when it first got types in a
tree-wide commit:
30f0faac22

But it seemingly never actually supported it, as "${cfg.diskSize}M" is
passed to qemu-img create, which doesn't allow an empty size parameter.

closes: https://github.com/NixOS/nixpkgs/issues/292901
2024-09-02 12:09:15 +02:00
Felix Bühler
06aee405da
nixos/services.neo4j: remove with lib; (#338049) 2024-09-01 20:52:52 +02:00
Felix Buehler
6747d84812 nixos/services.kanata: fix utils 2024-09-01 19:42:03 +02:00
Maximilian Bosch
735662bf16
prometheus-openldap-exporter: remove
2.3.0 is the final release, the repo is now archived.

Also I don't use it anymore for quite a while, so it didn't have a real
nixpkgs maintainer either.

Closes #338712
2024-09-01 16:47:45 +02:00
Étienne Simon
b5574c71be
Fix nested quotes in fontconfig.nix
A sed with nested double quotes is inserting malformed XML into /etc/fonts/fonts.conf, this commit put the sed command into single quotes to properly insert double quotes to enclose the XML attribute.
2024-09-01 15:55:12 +02:00
Sarah Brofeldt
a1863c871e nixos/kubernetes: amend dns addon clusterDns list
With 24.11, this is the required type, and we rely on this for the NixOS
tests
2024-09-01 15:13:11 +02:00
Sarah Brofeldt
1860dfed71
nixos/kubernetes: allow setting multiple kubelet dns resolvers (#338523) 2024-09-01 15:07:08 +02:00
Jan Tojnar
58bf5606fb gnome-flashback: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
b37f158fb0 gnome-applets: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
e1093690a8 gnome-panel: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
a110f292a1 gnome-control-center: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
c2f1fa833e gnome-session: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
ca9576c81d gnome-shell: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
7f387d6bf9 mutter{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
d2da9a19c4 gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
Jan Tojnar
b4c59a979a gnome-bluetooth{,_1_0}: Move to by-name 2024-09-01 14:16:31 +02:00
zimbatm
1ea32d4f69 nixos/grub: fix value precendence with optional -> mkIf
When using `lib.optionals`, the return value of both branches of the
condition get set as a value to the option.

When using `lib.mkIf`, only the positive condition gets set as a value
to the option.

This small distinction is important when dealing with precedence. For
example here, we wanted to set a boot.grub.devices default value with
lib.mkDefault, and that was getting overridden with the empty value of
`lib.optional (cfg.device != "") cfg.device`.

See https://github.com/nix-community/srvos/pull/491#discussion_r1738827651

The general conclusion is that using `lib.mkIf` is preferable to
`lib.optional` or `lib.optionals` when setting values in the NixOS
module system.
2024-09-01 12:13:15 +02:00
Artturin
9ef8a9cd56
nixos/telegraf: make sure ping executable is available when trying to ping (#338673) 2024-08-31 23:52:58 +03:00
Felix Bühler
7f62309646
nixos/fonts.fontconfig: remove with lib; (#338042) 2024-08-31 22:52:12 +02:00
Echo Nolan
934a337a13 nixos/telegraf: make sure ping executable is available when trying to ping
We need ping to be in PATH of the service otherwise it can't ping. This commit
adds it, conditional on one of the inputs being a ping task.
2024-08-31 15:29:04 -04:00
Will Fancher
811ee8ab2e
nixos/iso-image: Compress squashfs with zstd 19 (#338652) 2024-08-31 14:38:47 -04:00
Will Fancher
49192ef7a3 nixos/iso-image: Compress squashfs with zstd 19 2024-08-31 12:21:36 -04:00
Nick Cao
38cabf32f8
nixos/fcitx5: fix evaluation 2024-08-31 09:20:31 -04:00
Martin Weinelt
62a52a1b3c
frigate: 0.13.2 -> 0.14.1
https://github.com/blakeblackshear/frigate/releases/tag/v0.14.0
https://github.com/blakeblackshear/frigate/releases/tag/v0.14.1
2024-08-31 13:49:32 +02:00
Tristan Gosselin-Hane
2d54b2b048 nixos/kubernetes: allow setting multiple kubelet dns resolvers
The current kubernetes module only allows you to set a single DNS
resolver for the kubelet. Historically, this has not mattered as the
value was passed to a cli argument as a string and as per the kubelet's
configuration parsing mechanism, multiple values could be passed as a
comma-delimited string. However, recently, the module was refactored to
make configure kubernetes components via configuration files rather than
the deprecated command-line arguments. These files more strongly-typed
than CLI arguments and to pass multiple values, one must define a list
in the file. When this change was made, an incorrect assumption was made
that only a single DNS server could be specified and forced a
single-item list into this configuration file. We need to introduce a
breaking change to the module in order to allow the user to supply their
own list with however many dns resolvers they wish to use.
2024-08-30 22:17:00 -04:00
github-actions[bot]
dcad9b571a
Merge master into staging-next 2024-08-31 00:13:18 +00:00
Philip Taron
9916dc8728
treewide/nixos: remove with lib; part 2 (#335618) 2024-08-30 15:56:57 -07:00
Philip Taron
4710721d41
nixos: Support fileSystems.<name>.depends with fstab-generator (#233707) 2024-08-30 15:55:39 -07:00
Felix Bühler
30eba5df55
nixos/services.libinput: remove with lib; (#338054) 2024-08-30 23:15:31 +02:00
Felix Buehler
dcb2e4eba4 nixos/services.xe-guest-utilities: remove with lib; 2024-08-30 23:01:45 +02:00
Felix Buehler
3e5d6ba7df nixos/virtualisation.vmware.image: remove with lib; 2024-08-30 23:01:45 +02:00
Felix Buehler
cd197cebdf nixos/system.autoUpgrade: remove with lib; 2024-08-30 23:01:45 +02:00
Felix Buehler
10e8c2cecd nixos/environment.etc: remove with lib; 2024-08-30 23:01:45 +02:00
Felix Buehler
f3dd1a8bd5 nixos/services.logind: remove with lib; 2024-08-30 23:01:45 +02:00
Felix Buehler
69ca7aa56f nixos/services.journald: remove with lib; 2024-08-30 23:01:42 +02:00
Felix Buehler
97070a2ea6 nixos/services.libreswan: remove with lib; 2024-08-30 23:01:18 +02:00
Felix Buehler
92f17f012d nixos/services.kresd: remove with lib; 2024-08-30 23:01:16 +02:00
Felix Buehler
5960372742 nixos/services.kea: remove with lib; 2024-08-30 23:00:56 +02:00
Felix Buehler
717fa0dea5 nixos/services.dnscrypt-wrapper: remove with lib; 2024-08-30 23:00:56 +02:00
Felix Buehler
0846124d8b nixos/services.owncast: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
20496ce388 nixos/services.osrm: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
eddc7384db nixos/services.ombi: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
d40cf96f75 nixos/services.octoprint: remove with lib; 2024-08-30 23:00:55 +02:00
Felix Buehler
a99bf84530 nixos/services.nzbhydra2: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
2da17447da nixos/services.nzbget: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
457b7563d4 nixos/services.ntfy-sh: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
eeed115e37 nixos/services.novacomd: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
b48bee9985 nixos/nix.sshServe: remove with lib; 2024-08-30 23:00:54 +02:00
Felix Buehler
42bdc30f19 nixos/services.n8n: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
e00ab2106a nixos/services.moonraker: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
a4db992d51 nixos/services.mbpfan: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
68fd69371f nixos/services.mame: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
a11ac85d65 nixos/services.logkeys: remove with lib; 2024-08-30 23:00:53 +02:00
Felix Buehler
25e0bc25f6 nixos/services.lifecycled: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
d562492115 nixos/services.lidarr: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
4e1b387f24 nixos/services.leaps: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
118d8962d3 nixos/services.languagetool: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
14f18ffb06 nixos/services.klipper: remove with lib; 2024-08-30 23:00:52 +02:00
Felix Buehler
cac7b5e266 nixos/services.jellyseerr: remove with lib; 2024-08-30 23:00:51 +02:00
Felix Buehler
2fbd333075 nixos/services.jackett: remove with lib; 2024-08-30 23:00:51 +02:00
Felix Buehler
a442c73bff nixos/services.irkerd: remove with lib; 2024-08-30 23:00:51 +02:00
Felix Buehler
bd471d7eb1 nixos/services.input-remapper: remove with lib; 2024-08-30 23:00:51 +02:00
Felix Buehler
7065336804 nixos/services.ihaskell: remove with lib; 2024-08-30 23:00:50 +02:00
Felix Buehler
2270873952 nixos/services.heisenbridge: remove with lib; 2024-08-30 23:00:50 +02:00
Felix Buehler
0205ba83ab nixos/services.headphones: remove with lib; 2024-08-30 23:00:50 +02:00
Felix Buehler
a40bb4329a nixos/services.greenclip: remove with lib; 2024-08-30 23:00:50 +02:00
Felix Buehler
01533f55c4 nixos/services.gpsd: remove with lib; 2024-08-30 23:00:50 +02:00
Felix Buehler
22d14ed8a2 nixos/services.gollum: remove with lib; 2024-08-30 23:00:49 +02:00
Felix Buehler
9358cb9b7d nixos/services.gitweb: remove with lib; 2024-08-30 23:00:49 +02:00
Felix Buehler
301dbd7fdf nixos/services.fstrim: remove with lib; 2024-08-30 23:00:49 +02:00
Felix Buehler
1c84189d82 nixos/services.freeswitch: remove with lib; 2024-08-30 23:00:49 +02:00
Felix Buehler
df4cacf262 nixos/services.felix: remove with lib; 2024-08-30 23:00:49 +02:00
Felix Buehler
9d570bce41 nixos/services.evdevremapkeys: remove with lib; 2024-08-30 23:00:48 +02:00
Felix Buehler
4233be955d nixos/services.etesync-dav: remove with lib; 2024-08-30 23:00:48 +02:00
Felix Buehler
ea8485f6c9 nixos/services.etebase-server: remove with lib; 2024-08-30 23:00:48 +02:00
Felix Buehler
0971178e73 nixos/services.errbot: remove with lib; 2024-08-30 23:00:48 +02:00
Felix Buehler
57c0e18882 nixos/services.dysnomia: remove with lib; 2024-08-30 23:00:41 +02:00
Felix Buehler
078a6f8d49 nixos/services.dwm-status: remove with lib; 2024-08-30 23:00:17 +02:00
Felix Buehler
df640cd6ad nixos/services.duckling: remove with lib; 2024-08-30 23:00:17 +02:00
Felix Buehler
393ce48b20 nixos/services.domoticz: remove with lib; 2024-08-30 23:00:17 +02:00
Felix Buehler
3b6190d10d nixos/services.docker-registry: remove with lib; 2024-08-30 23:00:17 +02:00
Felix Buehler
7a6ef913b7 nixos/services.disnix: remove with lib; 2024-08-30 23:00:17 +02:00
Felix Buehler
8b9a5020db nixos/services.dictd: remove with lib; 2024-08-30 23:00:16 +02:00
Felix Buehler
c4c90f5fbe nixos/services.devpi-server: remove with lib; 2024-08-30 23:00:16 +02:00
Felix Buehler
94b5a13466 nixos/services.devmon: remove with lib; 2024-08-30 23:00:16 +02:00
Felix Buehler
ea5f93bf13 nixos/services.cpuminer-cryptonight: remove with lib; 2024-08-30 23:00:16 +02:00
Felix Buehler
f57be92dcb nixos/services.confd: remove with lib; 2024-08-30 23:00:16 +02:00
Felix Buehler
4948e0be37 nixos/services.clipmenu: remove with lib; 2024-08-30 23:00:15 +02:00
Felix Buehler
1315c69dfe nixos/services.clipcat: remove with lib; 2024-08-30 23:00:15 +02:00
Felix Buehler
c3ef67ff5b nixos/services.cgminer: remove with lib; 2024-08-30 23:00:15 +02:00
Felix Buehler
9c487f98b9 nixos/services.cfdyndns: remove with lib; 2024-08-30 23:00:15 +02:00
Felix Buehler
3c2fff40ba nixos/services.canto-daemon: remove with lib; 2024-08-30 23:00:14 +02:00
Felix Buehler
5e8ed975ef nixos/services.calibre-server: remove with lib; 2024-08-30 23:00:14 +02:00
Felix Buehler
02617d5a2a nixos/services.bepasty: remove with lib; 2024-08-30 23:00:14 +02:00
Felix Buehler
a2e269bc37 nixos/services.bees: remove with lib; 2024-08-30 23:00:14 +02:00
Felix Buehler
5a7fba4027 nixos/services.beanstalkd: remove with lib; 2024-08-30 23:00:14 +02:00
Felix Buehler
11c69dd99f nixos/services.bcg: remove with lib; 2024-08-30 23:00:13 +02:00
Felix Buehler
b8142ce7ca nixos/services.bazarr: remove with lib; 2024-08-30 23:00:13 +02:00
Felix Buehler
686be24d1b nixos/services.autofs: remove with lib; 2024-08-30 23:00:13 +02:00
Felix Buehler
62e1675246 nixos/services.apache-kafka: remove with lib; 2024-08-30 23:00:13 +02:00
Felix Buehler
febc5406d8 nixos/services.ankisyncd: remove with lib; 2024-08-30 23:00:13 +02:00
Felix Buehler
542c628204 nixos/services.amazon-ssm-agent: remove with lib; 2024-08-30 23:00:12 +02:00
Felix Buehler
774f8cd090 nixos/services.airsonic: remove with lib; 2024-08-30 23:00:12 +02:00
Felix Buehler
0a78cd4f73 nixos/services.pantalaimon-headless: remove with lib; 2024-08-30 23:00:12 +02:00
Felix Buehler
ec70164f24 nixos/services.mx-puppet-discord: remove with lib; 2024-08-30 23:00:12 +02:00
Felix Buehler
0f517df99c nixos/services.mjolnir: remove with lib; 2024-08-30 23:00:11 +02:00
Felix Buehler
167cad7457 nixos/services.mautrix-telegram: remove with lib; 2024-08-30 23:00:11 +02:00
Felix Buehler
3bc24ab5d9 nixos/services.mautrix-facebook: remove with lib; 2024-08-30 23:00:11 +02:00
Felix Buehler
24edb42066 nixos/services.matrix-conduit: remove with lib; 2024-08-30 23:00:11 +02:00
Felix Buehler
ca941e19f3 nixos/services.matrix-appservice-irc: remove with lib; 2024-08-30 23:00:11 +02:00
Felix Buehler
0db184a132 nixos/services.matrix-appservice-discord: remove with lib; 2024-08-30 22:59:29 +02:00
Felix Buehler
5b2cfbc969 nixos/services.zeyple: remove with lib; 2024-08-30 22:59:28 +02:00
Felix Buehler
6d0e431080 nixos/services.stalwart-mail: remove with lib; 2024-08-30 22:59:28 +02:00
Felix Buehler
3d0cdfa3c5 nixos/services.spamassassin: remove with lib; 2024-08-30 22:59:28 +02:00
Felix Buehler
bd62173106 nixos/services.roundcube: remove with lib; 2024-08-30 22:59:28 +02:00
Felix Buehler
47626f0fc8 nixos/services.postsrsd: remove with lib; 2024-08-30 22:59:28 +02:00
Felix Buehler
dae6c6c58a nixos/services.postfixadmin: remove with lib; 2024-08-30 22:59:27 +02:00
Felix Buehler
8491fdcc31 nixos/services.pfix-srsd: remove with lib; 2024-08-30 22:59:27 +02:00
Felix Buehler
1fbae04bff nixos/services.opensmtpd: remove with lib; 2024-08-30 22:59:27 +02:00
Felix Buehler
eb261c5c91 nixos/services.opendkim: remove with lib; 2024-08-30 22:59:27 +02:00
Felix Buehler
02299617cd nixos/services.offlineimap: remove with lib; 2024-08-30 22:59:27 +02:00
Felix Buehler
e75cd5f98a nixos/services.nullmailer: remove with lib; 2024-08-30 22:59:26 +02:00
Felix Buehler
2f79bd3b5c nixos/services.mlmmj: remove with lib; 2024-08-30 22:59:26 +02:00
Felix Buehler
0d8ce0d47c nixos/services.mailhog: remove with lib; 2024-08-30 22:59:26 +02:00
Felix Buehler
b75b87803a nixos/services.mail: remove with lib; 2024-08-30 22:59:26 +02:00
Felix Buehler
aa0f147937 nixos/services.maddy: remove with lib; 2024-08-30 22:59:26 +02:00
Felix Buehler
3c36a6c44e nixos/services.listmonk: remove with lib; 2024-08-30 22:59:25 +02:00
Felix Buehler
fb9694eb65 nixos/services.goeland: remove with lib; 2024-08-30 22:59:25 +02:00
Felix Buehler
c5f149982e nixos/services.dspam: remove with lib; 2024-08-30 22:59:25 +02:00
Felix Buehler
15d06237b7 nixos/services.dkimproxy-out: remove with lib; 2024-08-30 22:59:25 +02:00