Commit Graph

17437 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
5be3695680
Merge pull request #268497 from katexochen/greetd/tuigreet-dir
greetd: create cache dir for tuigreet
2023-12-07 10:04:09 +01:00
Florian Klink
4db2e0cc80
Merge pull request #272542 from Sohalt/caddy-config-file
nixos/caddy: use caddyfile adapter by default with explicit configFile
2023-12-07 09:07:35 +02:00
Peder Bergebakken Sundt
d41449afb3
Merge pull request #256737 from illustris/spark
spark: init 3.5.0, 3.4.0->3.4.2, 3.3.2->3.3.3
2023-12-07 04:24:16 +01:00
h7x4
5ec449a6be nixos/borgbackup: add listOf str types to extraArgs 2023-12-06 23:12:21 +01:00
sohalt
3c6b3d71fa nixos/caddy: Use caddyfile adapter by default when explicitly specifying configFile 2023-12-06 21:57:21 +01:00
phaer
c40f706dc4 nixos/nginx/tailscale-auth: init module 2023-12-06 20:57:38 +01:00
Vincent Haupert
44522d8478 nixos/vector: align service restart policy with upstream
Restart vector 5 times within 10s on exit. The upstream systemd unit
uses the same values.
2023-12-06 19:15:11 +00:00
Jörg Thalheim
bd88398369 nixos/harmonia: allocate user
DynamicUser seem to broken in combination with the nix-daemon.
2023-12-06 12:56:35 +01:00
Martin Weinelt
d809a6f9c3
nixos/home-automation: fix lovelace card entrypoint
Only append the .js extension to the card pname, not to the specified
entrypoint.
2023-12-06 04:35:35 +01:00
Martin Weinelt
b908dc8654
Merge pull request #271785 from SuperSandro2000/hass-custom-lovelace
nixos/home-assistant: fix custom lovelace module loading
2023-12-06 04:10:34 +01:00
happysalada
21d23dddd8 nixos/windmill: init module 2023-12-05 22:54:18 +00:00
happysalada
93c790aef3 nixos/clamav: add scanner service 2023-12-05 22:53:35 +00:00
happysalada
6b014e92de nixos/clamav: fix /run/clamav being removed 2023-12-05 22:53:35 +00:00
maxine
f73dbfa5f8
Merge pull request #213006 from Majiir/nut
nixos/ups: add options for essential config files
2023-12-05 23:14:37 +01:00
Thiago Kenji Okada
bed09b735f
Merge pull request #226923 from Drakonis/prometheus/agent-mode
nixos/prometheus: add `enableAgentMode` option
2023-12-05 17:17:37 +00:00
Sandro
d011c93f7d
nixos/hound: adopt, rework, cleanup (#268983)
- add me as maintainer
- remove hardcoded user id
- validate syntax of config file
- remove superfluous option extraGroups
- use mkPackageOptionMD
2023-12-05 15:59:26 +01:00
Victor Hugo Aguiar Pacce
5c6c35d0f8 nixos/prometheus: add enableAgentMode option
Required for running a prometheus service under agent mode

Signed-off-by: Victor Hugo Aguiar Pacce <victorhugoaguiarpacce@gmail.com>
2023-12-05 11:24:04 -03:00
Pol Dellaiera
d79be73295
Merge pull request #271628 from scvalex/kubernetes-flannel-dont-open-ports
kubernetes: don't always open flannel fw ports
2023-12-05 12:29:21 +01:00
Janik
7703f36fd1
Merge pull request #269469 from NetaliDev/zammad-update 2023-12-05 09:29:51 +01:00
h7x4
e6a98c8254
nixos/mattermost: fix mkPackageOption default name 2023-12-04 23:12:25 +01:00
netali
a1f6e1d6f1
nixos/zammad: update for zammad 6.1 2023-12-04 23:10:07 +01:00
K900
3c1ad28f89
Merge pull request #266234 from SuperSamus/plasma-dconf-glib
nixos/plasma5: enable dconf by default
2023-12-05 00:23:29 +03:00
Kerstin
ba513b2979
Merge pull request #270522 from schmittlauch/mastodon-streaming-processes-number-docs
Proposal: nixos/mastodon; Releasenotes and (possibly) better error messages for `streamingProcesses`
2023-12-04 16:04:27 +01:00
Nick Cao
c0443ea94c
Merge pull request #271869 from wentasah/redmine-assertions
nixos/redmine: Fix database assertions
2023-12-04 08:56:45 -05:00
John Garcia
f509382c11 node-red_service: correct package to nodePackages.node-red 2023-12-04 11:53:23 +00:00
zowoq
34deb05e55 nixos/buildbot: fix worker package 2023-12-04 13:55:09 +10:00
Trolli Schmittlauch
cbf69c83d3 nixos/mastodon: clarify the need to set streamingProcesses
Explicitly declaring that option is now necessary, but wasn't in the module shipped with 23.05.
2023-12-04 02:18:39 +01:00
Emily
a0ba4615da
Merge pull request #270467 from nalves599/269944-keepalived-firewall
nixos/keepalived: add openFirewall option
2023-12-03 20:37:09 +01:00
Nick Cao
fba68401fb
Merge pull request #271835 from undefined-moe/patch-2
prometheus-mongodb-exporter: fix service ExecStart
2023-12-03 09:35:28 -05:00
Weijia Wang
d1fc3a5f9f
Merge pull request #253428 from Yarny0/tsm-freeform
nixos/tsm-client: migrate to freeform settings (RFC42)
2023-12-03 14:50:12 +01:00
Michal Sojka
8667baf161 nixos/redmine: Fix database assertions
Recent PR 266270[1] modified an assertion related to database settings
of the redmine service. There are two problems with that change:

1. Assert message was not updated to reflect the change in the assert
   condition.

2. The new condition applies only to postgresql, not the default
   mysql. Therefore, the assertion breaks existing mysql-based
   installations without any reason.

This commit fixes these by 1) reverting the modified assertion to the
previous value, making the message match the condition and 2) adding a
new assertion that applies only to postgresql.

[1]: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-03 14:41:42 +01:00
Weijia Wang
f5f2b471f3
Merge pull request #271437 from martinetd/ankisyncd-deprecation
ankisyncd: mark module as deprecated
2023-12-03 14:35:57 +01:00
Weijia Wang
4e81387d5b
Merge pull request #264331 from foo-dogsquared/add-nixos-guix-module
nixos/guix: init
2023-12-03 13:03:43 +01:00
Pol Dellaiera
9284581a09
Merge pull request #271376 from kallistoteles/thinkfan-service-restart
nixos/thinkfan: restart on failure
2023-12-03 12:47:01 +01:00
undefined
3c4370ca2f
prometheus-mongodb-exporter: fix service ExecStart 2023-12-03 17:54:21 +08:00
kalle
f1e6c6641e nixos/thinkfan: add setting
the thinkfan service failed from time to time on my t440s, so I added
restart on fail to the systemd service.
2023-12-03 08:45:03 +01:00
Bobby Rong
43744f5bc4
Merge pull request #268515 from NixOS/cinnamon
Cinnamon 6.0
2023-12-03 12:20:39 +08:00
Majiir Paktu
c1793ff623 nixos/ups: add {users,upsmon,upsd} config options 2023-12-02 22:44:07 -05:00
Majiir Paktu
09002e9d23 nixos/ups: various fixes & clean up
- Ensure NUT_STATEPATH exists (fixes service startup)
- Use mode option to enable services (fixes #113735)
- Remove extraneous slash in paths (fixes confusing logs)
- Support reload for upsmon and upsd
- Remove ExecStart wrapper scripts
2023-12-02 22:42:14 -05:00
Sandro Jäckel
663dbfb82d
nixos/home-assistant: fix custom lovelace module loading
based on https://community.home-assistant.io/t/ui-lovelace-yaml-and-custom-resources/240178/4

Tested on a home-assistant server and before the card was not loaded at all.
After this it threw an error that my config is wrong.
2023-12-03 00:53:59 +01:00
Lin Jian
094017d16d
Merge pull request #271723 from LDprg/master
nixos/preload: fix log permission
2023-12-02 16:58:19 -06:00
Nuno Alves
24d9151d15
nixos/keepalived: add openFirewall option
Allow VRRP and AH (authentication packets) through the firewall
automatically if the option is set.
2023-12-02 22:42:12 +00:00
Martin Weinelt
2a57f9aeba
Merge pull request #271760 from SuperSandro2000/hass-switching-lovelace-writtable
nixos/home-assistant: fix error when switching between writable and none writable lovelace config
2023-12-02 23:09:25 +01:00
Sandro Jäckel
57bfbc781c
nixos/home-assistant: fix error when switching between writable and none writable lovelace config
error message before was:
cp: not writing through dangling symlink '/var/lib/hass/ui-lovelace.yaml'
2023-12-02 23:04:48 +01:00
Benjamin Saunders
dffba14043 nixos/matrix-appservice-irc: fix syscall filter
The pre-start script requires @chown; the service fails without it.
2023-12-02 12:03:58 -08:00
LDprg
6f33e6e4ab nixos/preload: fix log permission 2023-12-02 19:19:33 +01:00
Peder Bergebakken Sundt
598129ea00
Merge pull request #243476 from OPNA2608/init/lomiri/ayatana-messages
ayatana-indicators: init messaging indicator, module, test
2023-12-02 12:56:21 +01:00
Alexandru Scvortov
f9123510db kubernetes: don't always open flannel fw ports 2023-12-02 10:50:56 +00:00
Yarny0
3fb29fecd5 nixos/tsm-client: use freeformType for server config
`tsm-client` uses a global configuration
file that must contain coordinates for each
server that it is supposed to contact.
This configuration consists of text
lines with key-value pairs.

In the NixOS module, these servers may be declared
with an attribute set, where the attribute name
defines an alias for the server, and the value
is again an attribute set with the settings for
the respective server.
This is organized as an option of type `attrsOf submodule...`.

Before this commit:

Important settings have their own option within
the submodule.  For everything else, there is
the "catch-all" option `extraConfig` that may
be used to declare any key-value pairs.
There is also `text` that can be used to
add arbitrary text to each server's
section in the global config file.

After this commit:

`extraConfig` and `text` are gone,
the attribute names and values of each server's attribute
set are translated directly into key-value pairs,
with the following notable rules:

* Lists are translated into multiple lines
  with the same key, as such is permitted by
  the software for certain keys.
* `null` may be used to override/shadow a value that
  is defined elsewhere and hides the corresponding key.

Those "important settings" that have previously been
defined as dedicated options are still defined as such,
but they have been renamed to match their
corresponding key names in the configuration file.
There is a notable exception:
"Our" boolean option `genPasswd` influences the "real"
option `passwordaccess', but the latter one is
uncomfortable to use and might lead
to undesirable outcome if used the wrong way.
So it seems advisable to keep the boolean option
and the warning in its description.
To this end, the value of `getPasswd` itself is
later filtered out when the config file is generated.

The tsm-backup service module and the vm test are adapted.

Migration code will be added in a separate
commit to permit easy reversal later, when the
migration code is no longer deemed necessary.
2023-12-02 09:09:27 +01:00
Yarny0
d5f337809e nixos/backup/tsm: use lib.getExe' for service command line 2023-12-02 09:05:45 +01:00