Add valheim to unfree

This commit is contained in:
muon 2025-05-23 18:54:56 +00:00
parent a6587b1a55
commit 38203669eb
4 changed files with 120 additions and 85 deletions

View file

@ -4,10 +4,10 @@ let
mkPackages = mod: if cfg.${mod}.enable then cfg.${mod}.packages else [ ];
in {
imports = [ ./steam.nix ./nvidia.nix ./minecraft.nix ];
imports = [ ./steam.nix ./nvidia.nix ./minecraft.nix ./valheim.nix ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) ((mkPackages "steam")
++ (mkPackages "minecraft") ++ (mkPackages "nvidia")
++ [ "stremio-shell" "stremio-server" ]);
++ (mkPackages "valheim") ++ [ "stremio-shell" "stremio-server" ]);
}