From ae8adbc537d83ca11e75383dae7a061ba32175a4 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 6 Jul 2023 01:43:49 +0300 Subject: [PATCH] man screw listing all these unfree packages --- hosts/sakotop/default.nix | 18 +++++++++++------- modules/hardware/nvidia/default.nix | 5 ----- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/hosts/sakotop/default.nix b/hosts/sakotop/default.nix index 0c6dab52..f16b87f4 100644 --- a/hosts/sakotop/default.nix +++ b/hosts/sakotop/default.nix @@ -79,13 +79,17 @@ }; # packages that are unfree because they want to or need to - nixpkgs.config.allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg) [ - "steam" - "steam-original" - "discord" - "widevine-cdm" - ]; + #nixpkgs.config.allowUnfreePredicate = pkg: + # builtins.elem (lib.getName pkg) [ + # "steam" + # "steam-original" + # "discord" + # "widevine-cdm" + # ]; + + # we already sold our souls to corporations why + # bother at this point + nixpkgs.config.allowUnfree = true; # Bluetooth hardware.bluetooth = { diff --git a/modules/hardware/nvidia/default.nix b/modules/hardware/nvidia/default.nix index aa556f86..f8b0561b 100644 --- a/modules/hardware/nvidia/default.nix +++ b/modules/hardware/nvidia/default.nix @@ -1,10 +1,5 @@ { config, pkgs, lib, ...}: { - nixpkgs.config.allowUnfreePredicate = pkg: - builtins.elem (lib.getName pkg)[ - "nvidia-x11" - "nvidia-settings" - ]; # tell xserver i want this driver services.xserver.videoDrivers = ["nvidia"];