Compare commits
No commits in common. "2f7dc233985b4311a84f9af983cd086778e13d54" and "e30124e985ca93e4b4d7def323cce356a7dc5c3c" have entirely different histories.
2f7dc23398
...
e30124e985
4 changed files with 3 additions and 24 deletions
|
|
@ -79,10 +79,9 @@
|
|||
(hardware args).nixpkgs.hostPlatform;
|
||||
|
||||
importNixpkgs =
|
||||
system: host: nixpkgs:
|
||||
system: nixpkgs:
|
||||
let
|
||||
config.allowUnfreePredicate =
|
||||
pkg: builtins.elem (lib.getName pkg) (import ./hosts/${host}/unfree.nix).allowed;
|
||||
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) (import ./unfree.nix).allowed;
|
||||
config.rocmSupport = true;
|
||||
in
|
||||
import nixpkgs {
|
||||
|
|
@ -97,7 +96,7 @@
|
|||
host: system:
|
||||
lib.nixosSystem {
|
||||
system = system;
|
||||
pkgs = importNixpkgs system host nixpkgs;
|
||||
pkgs = importNixpkgs system nixpkgs;
|
||||
specialArgs = inputs // {
|
||||
inherit system;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
allowed = [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
|
||||
"libcublas"
|
||||
"cuda_cudart"
|
||||
"cuda_cccl"
|
||||
"cuda_nvcc"
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
"nvidia-persistenced"
|
||||
];
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
allowed = [
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue