Commit Graph

46882 Commits

Author SHA1 Message Date
misuzu
21e39e915f
system/activation: mention deps attr in activationScripts example (#363915) 2024-12-11 20:01:19 +02:00
K900
7ea7a19b2d
nixos/bookstack: fix unintended escaping of nginx locations (#363581) 2024-12-11 20:23:22 +03:00
Robert Schütz
d55cc4608d
nixos/immich: restrict media filesystem permissions (#361627) 2024-12-11 08:45:12 -08:00
Aleksana
15c97ffcf0
nodePackages.vls: drop (#363742) 2024-12-11 21:09:43 +08:00
Jenny
2f610f9856
nixos/librenms: order librenms-setup after network.target (#363706) 2024-12-11 13:14:25 +01:00
Aly Raffauf
3de5332bba
nixos/qt: install kio when qt.platformTheme = "kde" (#364032) 2024-12-11 13:17:04 +02:00
misuzu
6c7048f933
programs/yubikey-touch-detector: add PartOf=graphical-session.target (#364117) 2024-12-11 13:06:04 +02:00
Arne Keller
bfd7154402
nixos/ebusd: fix device access (#352743) 2024-12-11 11:18:00 +01:00
Leona Maroni
2e5a764eaf
git-worktree-switcher: init at 0.2.4 (#355484) 2024-12-11 11:15:17 +01:00
Alyssa Ross
e9eff47002 nixos/networking: don't add extra names to ::1
From hosts(5):

> For each host a single line should be present with the following
> information:
>
>               IP_address canonical_hostname [aliases...]

With lines like "::1 localhost ahost.adomin ahost", we were saying
that the canonical name for "ahost" was "localhost", the opposite of a
canonical name.  This is why a second loopback address (127.0.0.2) is
used for hostnames with IPv4 — if they were put after "localhost" on
the 127.0.0.1 line, the same thing would happen.  With IPv6 we can't
do the same thing as there's only a single loopback address, so
instead the right thing to do is to simply not list the hostnames in
/etc/hosts, and rely on the myhostname NSS plugin, which will handle
this correctly.

(Note that the examples in hosts(5) also do not include IPv6 FQDN or
hostname entries.)
2024-12-11 11:09:40 +01:00
Moritz Vogel
0c1feac497 nixos/ebusd: fix device access 2024-12-11 10:50:54 +01:00
Arne Keller
138ac300df
nixos/v2ray: change the type of config field (#163810) 2024-12-11 10:30:02 +01:00
Majiir Paktu
fae5d6025c programs/yubikey-touch-detector: add PartOf=graphical-session.target 2024-12-10 23:30:52 -05:00
Benjamin Saunders
fd21ef2a65 nixos/immich: restrict filesystem permissions
immich appears to create this directory with permissions 0755 by
default, which needlessly exposes user data to other processes.
2024-12-10 20:02:17 -08:00
Majiir Paktu
e5a456f26f nixos/wireguard-networkd: re-enable by default for networkd users 2024-12-10 19:33:45 -05:00
Majiir Paktu
6bc8dcc630 nixos/wireguard-networkd: use systemd credentials for privateKeyFile and presharedKeyFile 2024-12-10 19:33:45 -05:00
Majiir Paktu
cca305f3e3 nixos/wireguard-networkd: fix issue link 2024-12-10 16:57:53 -05:00
Majiir Paktu
a93d42e97e nixos/wireguard-networkd: disable by default
Enabling networking.wireguard.useNetworkd currently requires users to
modify the permissions of their private key files. Since that is a bad
upgrade experience, the module should be disabled by default for now.
Once systemd credential support is added to the module, it should be
safe to once again enable it by default for networkd users.
2024-12-10 16:54:50 -05:00
misuzu
22b87b1b7e
nixos/bat: init (#350079) 2024-12-10 22:33:34 +02:00
misuzu
ad12b26526
nixos/crab-hole: init (#341598) 2024-12-10 22:16:50 +02:00
NiklasVousten
bd4a6b9aae nixos/crab-hole: init crab-hole 2024-12-10 21:08:31 +01:00
Silvan Mosberger
989acfe3c3
Treewide Nix reformat pass 1 [skip treewide] (#322537) 2024-12-10 20:50:31 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sefa Eyeoglu
75d54b468a
renovate: 38.105.2 -> 39.42.4 (#361090) 2024-12-10 20:22:17 +01:00
Weijia Wang
a0f3c68ab0
zf: format, update (#349644) 2024-12-10 19:30:51 +01:00
Arne Keller
9ad61cfc19
nixos/plymouth: add support for logo in catppuccin (two-step) theme (#304045) 2024-12-10 18:43:49 +01:00
Fernando Rodrigues
3a068accfd
nixos/bat: init bat module
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-12-10 14:38:30 -03:00
Sandro
d6e107169b
ArchiSteamFarm: 6.0.8.7 -> 6.1.0.3 (#361305) 2024-12-10 18:01:38 +01:00
Marie Ramlow
b3392e73a0 renovate: 38.105.2 -> 39.42.4
Upgrades to renovate major version 39.
Like upstream, we also upgrade renovate's nodejs version to 22.
Renovate checks for a specific nodejs version at runtime,
so we relax that a bit. Otherwise it would log an error
everytime it is run with an older (minor/patch) version.
2024-12-10 17:53:29 +01:00
Nick Cao
fa559bd562
redis - complete lib refactor (#363775) 2024-12-10 10:55:26 -05:00
phaer
df8e6f7487 system/activation: mention deps attr in activationScripts example
As it helps making deps easier to discover - as we don't currently
render submodule options in the module correctly - and is arguably
more technical correct: When using nixos-install to install nixos
into a chroot in i.e. /mnt, there's no gurantee that /mnt/dev exists
before the specialfs phase ran.
2024-12-10 14:17:09 +01:00
Aaron Andersen
acaee51228
nixos/redmine: Change type of services.redmine.stateDir to path (#363430) 2024-12-10 07:17:08 -05:00
Andrew Frahn
c146818be2 nixos/services.redis: complete removal of with lib; 2024-12-10 16:19:03 +11:00
jiriks74
3318aa52de
nixos/git-worktree-switcher: init git-worktree-switcher
This module sets up shells so that they work with
[git-worktree-switcher](https://github.com/mateusauler/git-worktree-switcher)
2024-12-10 03:39:13 +01:00
Philip Taron
0311f6c40e
treewide/nixos: remove with lib; part 5 (#335647) 2024-12-09 16:04:21 -08:00
Sandro
a4e756888c
nixos/mailman: increase uwsgi buffer size (#359037) 2024-12-10 00:51:27 +01:00
cy
248081c472
nixos/caddy: add environmentFile option (#363694) 2024-12-09 18:50:58 -05:00
dish
10e95f3d0a
nodePackages.vls: drop 2024-12-09 16:54:23 -05:00
Marcus Ramberg
37da609352
nixos/k3s: add nftables to Path of k3s service (#360796) 2024-12-09 21:45:25 +01:00
Marcel
8153ad4458
nixos/librenms: order librenms-setup after network.target
librenms-setup requires database access; when deploying databases externally, networking is required.
2024-12-09 21:15:19 +01:00
Jörg Thalheim
1ac98af94b
etc-overlay: mount the metadata image read-only (#360756) 2024-12-09 20:10:00 +01:00
Nick Cao
3c9a1fe232
nixos/wakapi: don't merge EnvironmentFile paths (#363205) 2024-12-09 13:37:24 -05:00
Weijia Wang
dce92e62e7
v2raya: add cliPackage option (#334876) 2024-12-09 19:19:01 +01:00
Martin Weinelt
2b03b37393
nixos/tests/home-assistant: call with runTest 2024-12-09 19:00:30 +01:00
Martin Weinelt
579ade1ed8
nixos/tests/home-assistant: fix testing of restart with new dependency
The backup module is part of the default integrations and as such it will
always be loaded. Replace it with the prometheus module, for which this
is probably unlikely to ever become the case.
2024-12-09 19:00:30 +01:00
Martin Weinelt
be150023f7
nixos/tests/home-assistant: fix reload expectations
When sending SIGHUP to hass it will exit with code 100, which is the
codified exit code to trigger a restart. This is useful, because it can
allow triggering a restart from within the frontend.

It was previously assumed that it would result in a reload, which would
keep the same interpreter process intact. That is not the case and so the
assumption that the PID would stay the same was flawed and only succeeded
due to race conditions.
2024-12-09 19:00:29 +01:00
Martin Weinelt
ee59cca0f1
nixos/home-assistant: add reference to signal handling section 2024-12-09 19:00:29 +01:00
Martin Weinelt
28b8aa8c4c
nixos/home-assistant: support extraArgs 2024-12-09 19:00:28 +01:00
Martin Weinelt
179fd97dae
nixos/home-assistant: update component hardening lists 2024-12-09 19:00:28 +01:00
Martin Weinelt
00b9d1f754
nixos/home-assistant: replace global with lib 2024-12-09 19:00:27 +01:00