[nvidia] Move into module

This commit is contained in:
Tibo De Peuter 2023-10-20 22:28:37 +02:00
parent 00e003214f
commit b57c8c329a
9 changed files with 87 additions and 48 deletions

View file

@ -34,10 +34,12 @@
utils.lib.mkFlake {
inherit self inputs;
channelsConfig = {
allowUnfree.allowUnfreePredicate = pkg: builtins.elem (utils.lib.getName pkg) [
];
};
channelsConfig.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
"nvidia-x11"
"nvidia-settings"
"corefonts"
"vista-fonts"
];
sharedOverlays = [
(import ./overlays/letter)
@ -51,6 +53,10 @@
specialArgs = {
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfreePredicate = pkg: builtins.elem (nixpkgs.lib.getName pkg) [
"obsidian"
"spotify"
];
};
};