formatting
This commit is contained in:
parent
c5d26eee94
commit
2b5906c393
1 changed files with 15 additions and 14 deletions
|
|
@ -6,20 +6,21 @@
|
|||
}: {
|
||||
# Allow unfree packages
|
||||
# nixpkgs.config.allowUnfree = true; # TODO: replace this with allowUnfreePredicate
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"vscode" # TODO: remove this
|
||||
"discord" # TODO: remove this
|
||||
"obsidian"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
# nvidia related (i have to)
|
||||
"nvidia-x11"
|
||||
"cuda_cudart"
|
||||
"libcublas"
|
||||
"cuda_cccl"
|
||||
"cuda_nvcc"
|
||||
"nvidia-settings"
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"vscode" # TODO: remove this
|
||||
"discord" # TODO: remove this
|
||||
"obsidian"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
# nvidia related (i have to)
|
||||
"nvidia-x11"
|
||||
"cuda_cudart"
|
||||
"libcublas"
|
||||
"cuda_cccl"
|
||||
"cuda_nvcc"
|
||||
"nvidia-settings"
|
||||
];
|
||||
|
||||
# enable nix flakes
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue