diff --git a/nixos/hosts/nixos-laptop/default.nix b/nixos/hosts/nixos-laptop/default.nix index dc968e08..b447e42b 100644 --- a/nixos/hosts/nixos-laptop/default.nix +++ b/nixos/hosts/nixos-laptop/default.nix @@ -64,7 +64,7 @@ # https://github.com/NixOS/nixpkgs/pull/244060 # 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 = { opengl.enable = true; diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index e3cf78e3..08630f58 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -1,8 +1,4 @@ { lib, pkgs, desktop, ... }: { - - # Allow steam, unfree - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steam" ]; - environment.systemPackages = with pkgs; [ firefox thunderbird