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