nixpkgs/nixos/modules/misc
Fernando Rodrigues 02e1f93cb4
nixos/version: add extraOSReleaseArgs and extraLSBReleaseArgs
A free-form `attrsOf str` option that is merged with the /etc/os-release
builder, allowing downstreams to customise arbitrary os-release fields.
This is separate from the variant option, as using an attribute set
merge means one gets an infinte recursion when making extraOSReleaseArgs
a recursive set, and the variant attribute is useful to define elsewhere
or multiple times.

Ditto for /etc/lsb-release.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-29 19:58:29 -03:00
..
documentation
nixpkgs nixos/nixpkgs: show definition files in config assertion 2024-09-20 10:42:45 +01:00
assertions.nix nixos/assertions: remove with lib; 2024-11-27 22:26:56 +01:00
crashdump.nix nixos/crashdump: remove with lib; 2024-11-27 22:26:56 +01:00
documentation.nix
extra-arguments.nix
ids.nix nixos/ids: explain *why* uids/gids shouldn't be above "399" 2024-11-06 14:13:02 +08:00
label.nix nixos/label: remove with lib; 2024-11-27 22:26:56 +01:00
lib.nix
locate.nix
man-db.nix
mandoc.nix
meta.nix nixos/meta: remove with lib; 2024-11-27 22:26:56 +01:00
nixops-autoluks.nix
nixpkgs-flake.nix nixos/flake: remove with lib; 2024-09-15 10:43:45 +02:00
nixpkgs.nix nixos/nixpkgs: show definition files in config assertion 2024-09-20 10:42:45 +01:00
passthru.nix
version.nix nixos/version: add extraOSReleaseArgs and extraLSBReleaseArgs 2024-11-29 19:58:29 -03:00
wordlist.nix nixos/wordlist: remove with lib; 2024-09-15 10:43:46 +02:00