add nix-index
This commit is contained in:
parent
7122cf0cf8
commit
e3a0eb7c3f
@ -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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user