Explicitily enable unfree packages

This commit is contained in:
traxys 2024-05-15 21:42:25 +02:00
parent 8a02e7feba
commit 944ddcbe09
3 changed files with 17 additions and 7 deletions

View file

@ -1,16 +1,14 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
nixpkgs.config = {
allowUnfree = true;
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ ];
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
hardware.steam-hardware.enable = true;

View file

@ -20,6 +20,13 @@
personal-gui
gaming
];
unfreePackages = [ "warcraftlogs" ];
unfreePackages = [
"cnijfilter2"
"steam"
"steam-original"
"steam-run"
"discord"
"spotify"
];
};
}

View file

@ -1,4 +1,9 @@
{ pkgs, config, ... }:
{
pkgs,
config,
lib,
...
}:
{
xdg.portal = {
enable = true;