remove amdvlk driver
This commit is contained in:
parent
8ee44f18ed
commit
67c8c07db5
|
@ -6,16 +6,20 @@
|
|||
boot.initrd.availableKernelModules =
|
||||
[ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
# "amdgpu"
|
||||
];
|
||||
|
||||
hardware.opengl.driSupport = true;
|
||||
# For 32 bit applications
|
||||
# # For 32 bit applications
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
|
||||
# For 32 bit applications
|
||||
# Only available on unstable
|
||||
hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
environment.variables = { AMD_VULKAN_ICD = "RADV"; };
|
||||
|
||||
# hardware.opengl.extraPackages = with pkgs; [ amdvlk ];
|
||||
# # For 32 bit applications
|
||||
# # Only available on unstable
|
||||
# hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
# environment.variables = { AMD_VULKAN_ICD = "RADV"; };
|
||||
|
||||
boot.extraModulePackages = [ ];
|
||||
fileSystems."/" = {
|
||||
|
|
|
@ -49,9 +49,7 @@ in {
|
|||
};
|
||||
|
||||
programs.adb.enable = true;
|
||||
services.udev.packages = [
|
||||
pkgs.android-udev-rules
|
||||
];
|
||||
services.udev.packages = [ pkgs.android-udev-rules ];
|
||||
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
# Configure network proxy if necessary
|
||||
|
@ -237,16 +235,14 @@ in {
|
|||
networking.firewall.enable = false;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
nix = {
|
||||
binaryCaches = [
|
||||
"https://cache.nixos.org/"
|
||||
"https://lelgenio.cachix.org"
|
||||
];
|
||||
binaryCachePublicKeys = [
|
||||
"lelgenio.cachix.org-1:W8tMlmDFLU/V+6DlChXjekxoHZpjgVHZpmusC4cueBc="
|
||||
];
|
||||
binaryCaches = [ "https://cache.nixos.org/" "https://lelgenio.cachix.org" ];
|
||||
binaryCachePublicKeys =
|
||||
[ "lelgenio.cachix.org-1:W8tMlmDFLU/V+6DlChXjekxoHZpjgVHZpmusC4cueBc=" ];
|
||||
settings = {
|
||||
substituters = ["https://hyprland.cachix.org"];
|
||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
];
|
||||
};
|
||||
package = pkgs.nixFlakes; # or versioned attributes like nixVersions.nix_2_8
|
||||
extraOptions = ''
|
||||
|
|
|
@ -19,9 +19,7 @@ in {
|
|||
rustup default stable &>/dev/null &
|
||||
end
|
||||
'';
|
||||
shellAliases = {
|
||||
rm = "trash";
|
||||
};
|
||||
shellAliases = { rm = "trash"; };
|
||||
shellAbbrs = {
|
||||
v = "kak";
|
||||
ns = "nix develop --command $SHELL";
|
||||
|
@ -57,8 +55,6 @@ in {
|
|||
".config/fish/conf.d/prompt.fish".source = ./fish_prompt.fish;
|
||||
};
|
||||
programs.command-not-found.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
trash-cli
|
||||
];
|
||||
home.packages = with pkgs; [ trash-cli ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ config, pkgs, lib, inputs,... }:
|
||||
let
|
||||
inherit (import ./variables.nix) key theme color accent font;
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
|
|
|
@ -122,9 +122,6 @@
|
|||
'';
|
||||
};
|
||||
home.file.".config/eww".source = ./eww;
|
||||
home.packages = with pkgs; [
|
||||
eww-wayland
|
||||
jq
|
||||
];
|
||||
home.packages = with pkgs; [ eww-wayland jq ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -120,9 +120,7 @@ in {
|
|||
Hint = "blue";
|
||||
}));
|
||||
};
|
||||
home.file = {
|
||||
".config/kak-lsp/kak-lsp.toml".source = ./kak/kak-lsp.toml;
|
||||
};
|
||||
home.file = { ".config/kak-lsp/kak-lsp.toml".source = ./kak/kak-lsp.toml; };
|
||||
home.packages = with pkgs; [ kakoune terminal ranger bmenu ];
|
||||
home.sessionVariables = {
|
||||
EDITOR = "kak";
|
||||
|
|
|
@ -433,8 +433,6 @@ in {
|
|||
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||
};
|
||||
};
|
||||
home.file = {
|
||||
".local/share/backgrounds".source = ./backgrounds;
|
||||
};
|
||||
home.file = { ".local/share/backgrounds".source = ./backgrounds; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -231,8 +231,6 @@ in {
|
|||
}
|
||||
'';
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
waybar
|
||||
];
|
||||
home.packages = with pkgs; [ waybar ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue