From 8e526a75e6f4f39d743a0ad4b08c95e3a3a10d9e Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 23 Aug 2023 17:30:46 +0900 Subject: [PATCH] test --- nixos/hosts/nixos-laptop/default.nix | 2 +- nixos/users/albert/desktop.nix | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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