add nix-index

top-level-nix
Pegasust 2022-12-23 21:11:56 -07:00
parent 7122cf0cf8
commit e3a0eb7c3f
2 changed files with 6 additions and 1 deletions

View File

@ -95,4 +95,9 @@ in
# not exist in home-manager # not exist in home-manager
# have to do it at system level # have to do it at system level
# services.ntp.enable = true; # automatic time # services.ntp.enable = true; # automatic time
programs.nix-index = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
} }

View File

@ -286,7 +286,7 @@
# GPU, sound, networking stuffs # GPU, sound, networking stuffs
({ config, pkgs, lib, ... }: ({ config, pkgs, lib, ... }:
let let
gpu_pkgs = [ pkgs.clinfo pkgs.lshw pkgs.glxinfo pkgs.pciutils ]; gpu_pkgs = [ pkgs.clinfo pkgs.lshw pkgs.glxinfo pkgs.pciutils pkgs.vulkan-tools ];
gpu_conf = { gpu_conf = {
# openCL # openCL
hardware.opengl = { hardware.opengl = {