man screw listing all these unfree packages

This commit is contained in:
Sakooooo 2023-07-06 01:43:49 +03:00
parent 893c5ccb6b
commit ae8adbc537
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 11 additions and 12 deletions

View file

@ -79,13 +79,17 @@
}; };
# packages that are unfree because they want to or need to # packages that are unfree because they want to or need to
nixpkgs.config.allowUnfreePredicate = pkg: #nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ # builtins.elem (lib.getName pkg) [
"steam" # "steam"
"steam-original" # "steam-original"
"discord" # "discord"
"widevine-cdm" # "widevine-cdm"
]; # ];
# we already sold our souls to corporations why
# bother at this point
nixpkgs.config.allowUnfree = true;
# Bluetooth # Bluetooth
hardware.bluetooth = { hardware.bluetooth = {

View file

@ -1,10 +1,5 @@
{ config, pkgs, lib, ...}: { config, pkgs, lib, ...}:
{ {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg)[
"nvidia-x11"
"nvidia-settings"
];
# tell xserver i want this driver # tell xserver i want this driver
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];