my over complex system configurations
dotfiles.isabelroses.com/
nixos
nix
flake
dotfiles
linux
1{ pkgs, ... }:
2{
3 nixpkgs.config = {
4 # I want to install packages that are not FOSS sometimes
5 allowUnfree = true;
6 # A funny little hack to make sure that *everything* is permitted
7 allowUnfreePredicate = _: true;
8
9 # I don't really need pkgs.pkgsRocm and so on. as it turns out i do want to
10 # use pkgs.pkgsCuda
11 # this list also does not include actually useful sets like pkgsi686Linux
12 # however this can also break some packages from building
13 allowVariants = true;
14
15 # If a package is broken, I don't want it
16 allowBroken = false;
17 # But occasionally we need to install some anyway so we can predicated those
18 # these are usually packages like electron because discord and others love
19 # to take their sweet time updating it
20 permittedInsecurePackages = [ ];
21
22 # do not allow building packages for unsuppoted systems. they are
23 # unsupported for a reason. it can also cause side effects with cuda
24 # packages
25 allowUnsupportedSystem = false;
26
27 # I don't want to use aliases for packages, usually because its slow
28 # and also because it can get confusing
29 allowAliases = false;
30
31 # Maybe I can pickup so packages
32 # Also a good idea to know which packages might be very out of date or broken
33 # showDerivationWarnings = [ "maintainerless" ];
34 };
35
36 assertions = [
37 {
38 assertion = pkgs.overlays == [ ];
39 message = "nixpkgs overlays are not allowed in my configurations.";
40 }
41 ];
42}