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;
|
(hardware args).nixpkgs.hostPlatform;
|
||||||
|
|
||||||
importNixpkgs =
|
importNixpkgs =
|
||||||
system: host: nixpkgs:
|
system: nixpkgs:
|
||||||
let
|
let
|
||||||
config.allowUnfreePredicate =
|
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) (import ./unfree.nix).allowed;
|
||||||
pkg: builtins.elem (lib.getName pkg) (import ./hosts/${host}/unfree.nix).allowed;
|
|
||||||
config.rocmSupport = true;
|
config.rocmSupport = true;
|
||||||
in
|
in
|
||||||
import nixpkgs {
|
import nixpkgs {
|
||||||
|
|
@ -97,7 +96,7 @@
|
||||||
host: system:
|
host: system:
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
system = system;
|
system = system;
|
||||||
pkgs = importNixpkgs system host nixpkgs;
|
pkgs = importNixpkgs system nixpkgs;
|
||||||
specialArgs = inputs // {
|
specialArgs = inputs // {
|
||||||
inherit system;
|
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