nichts/modules/system/nix/nixpkgs.nix

36 lines
1.4 KiB
Nix
Raw Normal View History

2024-08-08 19:21:52 +02:00
# taken from raf
2024-07-23 00:00:26 +02:00
{
# Global nixpkgs configuration. This is ignored if nixpkgs.pkgs is set
# which is a case that should be avoided. Everything that is set to configure
# nixpkgs must go here.
nixpkgs = {
# Configuration reference:
# <https://nixos.org/manual/nixpkgs/unstable/#chap-packageconfig>
2024-07-24 17:47:16 +02:00
config = {
2024-08-16 16:34:09 +02:00
# Disallow broken packages to be built. allowBroken = false;
2024-07-24 17:47:16 +02:00
allowUnsupportedSystem = true;
2024-08-16 16:34:09 +02:00
# Allow unfree packages
2024-07-24 17:47:16 +02:00
allowUnfree = true;
# Default to none, add more as necessary. This is usually where
# electron packages go when they reach EOL.
2025-03-02 14:04:58 +01:00
permittedInsecurePackages = ["olm-3.2.16"];
2024-07-24 17:47:16 +02:00
# Nixpkgs sets internal package aliases to ease migration from other
# distributions easier, or for convenience's sake. Even though the manual
# and the description for this option recommends this to be true, I prefer
# explicit naming conventions, i.e., no aliases.
2024-08-03 18:10:09 +02:00
allowAliases = false;
2024-07-24 17:47:16 +02:00
# List of derivation warnings to display while rebuilding.
# See: <https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/check-meta.nix>
# NOTE: "maintainerless" can be added to emit warnings
# about packages without maintainers but it seems to me
# like there are more packages without maintainers than
# with maintainers, so it's disabled for the time being.
showDerivationWarnings = [];
};
2024-07-23 00:00:26 +02:00
};
}