formatting

This commit is contained in:
Osman Faruk Bayram 2025-01-21 19:35:58 +03:00
parent c5d26eee94
commit 2b5906c393

View file

@ -6,20 +6,21 @@
}: { }: {
# Allow unfree packages # Allow unfree packages
# nixpkgs.config.allowUnfree = true; # TODO: replace this with allowUnfreePredicate # nixpkgs.config.allowUnfree = true; # TODO: replace this with allowUnfreePredicate
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ nixpkgs.config.allowUnfreePredicate = pkg:
"vscode" # TODO: remove this builtins.elem (lib.getName pkg) [
"discord" # TODO: remove this "vscode" # TODO: remove this
"obsidian" "discord" # TODO: remove this
"steam" "obsidian"
"steam-unwrapped" "steam"
# nvidia related (i have to) "steam-unwrapped"
"nvidia-x11" # nvidia related (i have to)
"cuda_cudart" "nvidia-x11"
"libcublas" "cuda_cudart"
"cuda_cccl" "libcublas"
"cuda_nvcc" "cuda_cccl"
"nvidia-settings" "cuda_nvcc"
]; "nvidia-settings"
];
# enable nix flakes # enable nix flakes
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];