Age | Commit message (Collapse) | Author | Files | Lines |
|
nixos/etc: support direct symlinks with etc overlay
|
|
nixos/systemd-networkd: add PREF64 related options
|
|
|
|
|
|
|
|
nixos/systemd: link user-generators
|
|
|
|
nixos/stage-1-init: notify during copytoram
|
|
|
|
|
|
nixos/networkd: get rid of *Config attributes in lists
|
|
This was originally introduced in 9245516b46a64316f1d7b0622ff12519,
which reveals it is a workaround for a Nix bug from 10 years ago that
was *fixed* 10 years ago.
References:
https://github.com/NixOS/nix/pull/425
https://github.com/NixOS/nixpkgs/issues/5494
|
|
nixos/systemd-sysusers: make uid/gid allocation stable
|
|
|
|
Demystifies a long pause at an unrelated message, particularly if the
source media is slow.
|
|
|
|
As per its [Install] section upstream
|
|
|
|
This patch is about removing `wireguardPeerConfig`,
`dhcpServerStaticLeaseConfig` - a.k.a. the
AbstractSingletonProxyFactoryBean of nixpkgs - and friends.
As a former colleague said
> worst abstraction ever
I second that. I've written enough networkd config for NixOS systems so
far to have a strong dislike. In fact, these don't even make sense:
`netdevs.wireguardPeers._.wireguardPeerConfig` will be rendered into
the key `[WireGuardPeer]` and every key from `wireguardPeerConfig` is in
there. Since it's INI, there's no place where sections on the same level
as wireguardPeerConfig fit into. Hence, get rid of it all.
For the transition, using the old way is still allowed, but gives a
warning. I think we could drop this after one release.
The tests of rosenpass and systemd-networkd-dhcpserver-static-leases
were broken on the rev before, hence they were updated, but are still
not building.
|
|
nixos/systemd-stage-1: Fix fsck.xfs needing bash's sh symlink
|
|
These aliases should not be used inside nixpkgs and are only there for backward
compatibility.
|
|
nixos/binfmt: added assertion to prevent emulation of current system
|
|
This adds an implementation of switch-to-configuration that allows for
closer interaction with the lifecycle of systemd units by using DBus
APIs directly instead of using systemctl. It is disabled by default, but
can be enabled by specifying `{ system.switch = { enable = false; enableNg = true; }; }`.
|
|
nixos/networkd: allow IPv6PrivacyExtensions in networkd.conf
|
|
nixos/top-level: Turn `system.forbiddenDependenciesRegex` into a list
|
|
|
|
|
|
`system.forbiddenDependenciesRegexes`
and turn it in to a list.
The current setting of system.forbiddenDependenciesRegex is a string, meaning only one such regex as any additional setting would result in conflicts.
As maintainers have already started using this setting eg. in profiles, it would be good if this setting would accept a list of regex to allow the end
user to make use of it in addition to package maintainers.
|
|
Closes #233865. Currently, the documentation for `boot.loader.grub.theme` misleadingly implies that it needs a package for a grub theme instead of a path to a grub theme.
|
|
|
|
This change adds support for setting IPv6PrivacyExtensions= in
systemd.network.config.networkConfig.
https://www.freedesktop.org/software/systemd/man/latest/networkd.conf.html#IPv6PrivacyExtensions=
Added in systemd version 254.
|
|
* Mypy dependencies pull in quite a few packages, which makes it harder to create offline installers.
|
|
systemd: add a name option to all systemd units
|
|
This allows us to set things like dependencies in a way that we can
catch typos at eval time.
So instead of
```nix
systemd.services.foo.wants = [ "bar.service" ];
```
we can write
```nix
systemd.services.foo.wants = [ config.systemd.services.bar.name ];
```
which will throw an error if no such service has been defined.
Not all cases can be done like this (eg template services), but in a lot
of cases this will allow to avoid typos.
There is a matching option on the unit option
(`systemd.units."foo.service".name`) as well.
|
|
This setting was missing from netdev.
This commit additionally adds a test using the new
section, ensuring that STP can be enabled.
|
|
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
|
|
extlinux-conf-builder: specialisations entries
|
|
|
|
nixos/systemd: Enable debug-shell.service.
|
|
|
|
nixos/initrd-ssh: Add authorizedKeyFiles option
|
|
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
|
|
This should help us with highlighting and future formatting.
|
|
nixos/systemd/initrd: make systemd mount root as `rw` when using gpt-auto to find it
|
|
nixos/plymouth: improving documentation of logo option
|
|
|
|
|
|
nixos/uki: add configFile option
|
|
|
|
nixos/boot: move name overwrite to pkgs.aggregateModules to option
|