Commit Graph

27230 Commits

Author SHA1 Message Date
Lin Jian
fbc62319f1
Merge pull request #260291 from donovanglover/nixos-containers/optional-restart
nixos/nixos-containers: add restartIfChanged option
2023-10-16 20:41:32 +08:00
Jennifer Graul
e94820dfb2 nixos/librenms: init 2023-10-16 13:28:22 +02:00
Jean-François Roche
fb3723fe52
nixos/tang: create module for tang server (#247037)
This commit adds a module for the tang server and the related nixos test.
2023-10-16 13:10:15 +02:00
Julien Malka
c54ab7d643 nixos/ferretdb: init 2023-10-16 10:15:30 +02:00
Maciej Krüger
afc33ef9d2
Merge pull request #260687 from mkg20001/lxd-ui
nixos/lxd: fix ui.enable desc
2023-10-16 01:30:58 +02:00
Yureka
3488f86baf nixos/peering-manager: add scheduled tasks 2023-10-15 22:01:04 +02:00
Maximilian Bosch
083a10949a
Merge pull request #258695 from Majiir/fix-networkd-defaultgateway
nixos/network-interfaces-systemd: support and require defaultGateway.interface
2023-10-15 16:42:01 +02:00
Vojtěch Káně
b8624bd312 nixos/firefox-syncserver: fix and update the docs and options descriptions 2023-10-15 13:33:40 +02:00
Lassulus
a3dacf1dc8
Merge pull request #260306 from doronbehar/nixos/syncthing-many-devices 2023-10-15 10:24:40 +01:00
Artturi
32817b0b03
Merge pull request #259075 from schuelermine/patch/nixos/modules/nano/syntaxHighlight 2023-10-15 02:46:07 +03:00
Artturi
6f5cccb96c
Merge pull request #259918 from kidonng/patch-3 2023-10-15 02:42:13 +03:00
Weijia Wang
53dc4745a8
Merge pull request #261074 from erdnaxe/prom-fixes
nixos/prometheus: fix cross-compilation
2023-10-15 01:34:13 +02:00
Doron Behar
79c78d68c6 nixos/syncthing: get API key for every curl request
Fixes #260262.
2023-10-15 02:04:52 +03:00
Maximilian Bosch
632cfff257
Merge pull request #259619 from Majiir/fix-networkd-dhcp
nixos/network-interfaces-systemd: fix DHCP setting
2023-10-14 20:47:36 +02:00
Majiir Paktu
c4228b6c8f nixos/network-interfaces-systemd: fix DHCP setting
The networkd backend logic for setting DHCP= on an interface is bugged
and inconsistent with the scripted logic. Consider this simple NixOS
configuration:

    {
      networking.useNetworkd = true;
      networking.interfaces.eth0.wakeOnLan.enable = true;
    }

The default value of networking.useDHCP is true, so we expect our eth0
interface to have DHCP enabled. With the scripted backend, this works.
But the networkd backend generates the following 40-eth0.network file:

    [Match]
    Name=eth0

    [Network]
    DHCP=no
    IPv6PrivacyExtensions=kernel

This is happening because the wakeOnLan configuration creates a key in
networking.interfaces, and the networkd backend erroneously checks that
instead of for explicitly configured IP addresses as in the scripted
backend. The documentation is also inconsistent across various options.

This change aligns the networkd backend and option documentation to the
actual behavior of the scripted backend, and updates a test to account
for this behavior for both backends.
2023-10-14 13:57:32 -04:00
Artturi
75023c43a2
Merge pull request #260975 from Artturin/x11xkb
nixos/x11: don't use a submodule for xkb options
2023-10-14 18:52:30 +03:00
Alexandre Iooss
925a8806dc nixos/prometheus: fix cross-compilation 2023-10-14 16:45:18 +02:00
Maximilian Bosch
6998695f5d
Merge pull request #259658 from Majiir/fix-networkd-wakeonlan
nixos/network-interfaces-systemd: fix WakeOnLan
2023-10-14 14:48:22 +02:00
Maximilian Bosch
d664571660
Merge pull request #256598 from adamcstephens/net/warn-multiple-net
nixos/networking: warn when both networkd and dhcpcd can collide
2023-10-14 12:24:24 +02:00
Vladimir Pouzanov
ed44cfb141
Merge branch 'master' into shellconfig 2023-10-14 08:38:25 +01:00
Artturin
d891f369ee nixos/x11: don't use a submodule for xkb options
A submodule is unnecessary

Improved a few descriptions
2023-10-14 04:15:53 +03:00
Artturi
5fabe8c9fd
Merge pull request #260764 from MatthewCash/fix/xdg-base-pam 2023-10-14 04:01:48 +03:00
Janik
96896946dd
Merge pull request #242371 from jfly/add-openvpn3-systemd-resolved-support 2023-10-13 19:58:37 +02:00
Pol Dellaiera
948c4d7de2
Merge pull request #260702 from NixOS/projecteur/add-nixos-module
nixos/modules/projecteur: init
2023-10-13 17:11:05 +02:00
Maximilian Bosch
35f6dbe7fc
Merge pull request #259967 from Ma27/nextcloud-cleanups
nextcloud: 27.1.0 -> 27.1.2, update nginx, drop nextcloud25
2023-10-13 16:40:40 +02:00
Maciej Krüger
784bf5dd5e
Merge pull request #260589 from adamcstephens/lxd/udev-trigger 2023-10-13 12:31:38 +02:00
Jeremy Fleischman
7ee5699496
nixos/openvpn3: Add support for systemd-resolved
I noticed that openvpn3 is been clobbering my `/etc/resolv.conf` file. I
dug around a bit, and it turns out that upstream actually does have
support for systemd-resolved. I think it makes sense for us to
automatically enable that feature if the system is configured to use
systemd-resolved.

I opted to not change the default behavior of `pkgs.openvpn3`, but can
easily be convinced to change that if folks think I should.
2023-10-13 00:32:15 -07:00
Matthew_Cash
9c24f502b7
nixos/user-groups: fix environment.profiles using parameter expansion 2023-10-12 21:00:34 -07:00
Artturin
d470944859 nixos/x11: create xkb option by default
without this
```
nix-repl> nixosTests.xfce.nodes.machine.services.xserver.xkb
error: The option 'nodes.machine.services.xserver.xkb' is used but not defined.
```

with this
```
nix-repl> nixosTests.xfce.nodes.machine.services.xserver.xkb
{ dir = "/nix/store/096yg7fc67py86w0bm6g7a32npgyh5ic-xkeyboard-config-2.39/etc/X11/xkb"; layout = "us"; model = "pc104"; options = "terminate:ctrl_alt_bksp"; variant = ""; }
```
2023-10-13 01:16:14 +03:00
Fabián Heredia Montiel
f96d8113b3
Merge pull request #259745 from Luflosi/update/kubo
kubo: 0.22.0 -> 0.23.0
2023-10-12 15:42:59 -06:00
Adam Stephens
dbeeeb8e06
nixos/lxc-container: enable udev-trigger for nested containers 2023-10-12 15:11:09 -04:00
Weijia Wang
c3a3b38cb9
Merge pull request #258813 from SuperSandro2000/drop-searx
searx: drop
2023-10-12 19:55:39 +02:00
Pol Dellaiera
30046d3bc1
nixos/module: add projecteur 2023-10-12 19:51:20 +02:00
Aaron Andersen
bae7820f02
Merge pull request #259425 from aanderse/nixos/openssh-authorized-principals
nixos/openssh: add support for authorized principals
2023-10-12 10:30:52 -04:00
figsoda
a9cd086d3c
Merge pull request #260618 from Aleksanaa/nixos/bandwhich
nixos/bandwhich: add missing capabilities
2023-10-12 10:18:46 -04:00
Maciej Krüger
d934d20cd3
nixos/lxd: fix ui.enable desc
Otherwise it would show up as "Whether to enable Enables the (experimental) LXD UI. ."

Now is just "Whether to enable (experimental) LXD UI."
2023-10-12 15:24:01 +02:00
Molly Miller
1a794a3e4b nixos/mailman: store locks in ephemeral runtime directory
nixosTests.mailman: test mailman master lock handling
2023-10-12 10:39:18 +00:00
aleksana
bb777015c8 nixos/bandwhich: add missing capabilities 2023-10-12 15:53:55 +08:00
Artturi
520e363e82
Merge pull request #259891 from l0b0/refactor/xkb-attrset 2023-10-12 08:43:28 +03:00
Mikael Fangel
46d295f15c nixos/gnu: remove 2023-10-11 23:43:45 -03:00
Donovan Glover
fd7daf9fc4
nixos/nixos-containers: add restartIfChanged option
This commit makes auto-restarting declarative containers optional.

This is useful when you don't want changes to your config to automatically
restart the container and thus stop any applications running inside it.
2023-10-11 21:53:42 -04:00
Sandro Jäckel
e793d18455 nixos/searx: little makeover 2023-10-11 23:48:29 +02:00
Sandro Jäckel
ad1f57095f searx: drop
searx has been removed as it is unmaintained. Please switch to searxng.
2023-10-11 23:48:28 +02:00
Arnout Engelen
6071292b2a
Merge pull request #243338 from raboof/prometheus-imap-mailstat-exporter-init-at-2023-06-20
prometheus-imap-mailstat-exporter: init at 0.0.1
2023-10-11 17:33:25 -03:00
Bobby Rong
4cf896a425
Merge pull request #260080 from r-ryantm/auto-update/cinnamon.mint-artwork
cinnamon.mint-artwork: 1.7.5 -> 1.7.6
2023-10-11 21:08:19 +08:00
Atemu
16fb0b365d
Merge pull request #259056 from leona-ya/nixos-paperless-systemd-254
nixos/paperless: fix start with latest systemd
2023-10-11 13:15:24 +02:00
edef
89e45f23db nixos/modules/security/wrappers: drop dead code 2023-10-11 08:49:32 +00:00
Victor Engmark
3a6c79cff6 nixos/x11: refactor XKB options into a single attrset
[Motivation](https://github.com/NixOS/nixpkgs/issues/257817#issuecomment-1741705042):

- Having all the XKB options in the same attribute set clarifies their
  relation better than using a common option name prefix ("xkb").
- `services.xserver.layout` is an XKB option, but this is not obvious
  from its name. Putting it with the other XKB options clarifies this.

Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
2023-10-11 09:46:37 +03:00
Arnout Engelen
aae49a5cc7
Merge pull request #247540 from imlonghao/borgmatic/1.8.1
borgmatic: 1.7.15 -> 1.8.1
2023-10-10 22:46:24 -03:00
Izorkin
cfd837442f nixos/samba: start service after network activation 2023-10-10 20:13:52 +02:00