This commit is contained in:
iFargle 2023-08-23 17:30:46 +09:00
parent 05a005a873
commit 8e526a75e6
2 changed files with 1 additions and 5 deletions

View file

@ -64,7 +64,7 @@
# https://github.com/NixOS/nixpkgs/pull/244060 # https://github.com/NixOS/nixpkgs/pull/244060
# Allow unfree for nvidia-x11 # Allow unfree for nvidia-x11
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "nvidia-x11" ]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "nvidia-x11" "steam" ];
hardware = { hardware = {
opengl.enable = true; opengl.enable = true;

View file

@ -1,8 +1,4 @@
{ lib, pkgs, desktop, ... }: { { lib, pkgs, desktop, ... }: {
# Allow steam, unfree
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steam" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
firefox firefox
thunderbird thunderbird