Update for new PC
This commit is contained in:
@ -129,7 +129,7 @@ bind = CTRL ALT, R, moveworkspacetomonitor, 6 HDMI-A-1
|
|||||||
bind = CTRL ALT, R, moveworkspacetomonitor, 7 HDMI-A-1
|
bind = CTRL ALT, R, moveworkspacetomonitor, 7 HDMI-A-1
|
||||||
bind = CTRL ALT, R, moveworkspacetomonitor, 8 HDMI-A-1
|
bind = CTRL ALT, R, moveworkspacetomonitor, 8 HDMI-A-1
|
||||||
bind = CTRL ALT, R, moveworkspacetomonitor, 9 HDMI-A-1
|
bind = CTRL ALT, R, moveworkspacetomonitor, 9 HDMI-A-1
|
||||||
bind = CTRL ALT, R, moveworkspacetomonitor, 10 HDMI-A-2
|
bind = CTRL ALT, R, moveworkspacetomonitor, 10 HDMI-A-3
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
@ -31,7 +31,7 @@ rec {
|
|||||||
scale = 1;
|
scale = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
"HDMI-A-2" = {
|
"HDMI-A-3" = {
|
||||||
width = 1920;
|
width = 1920;
|
||||||
height = 1080;
|
height = 1080;
|
||||||
rate = 60;
|
rate = 60;
|
||||||
@ -43,7 +43,7 @@ rec {
|
|||||||
|
|
||||||
workspaces = {
|
workspaces = {
|
||||||
"HDMI-A-1" = [1 2 3 4 5 6 7 8 9];
|
"HDMI-A-1" = [1 2 3 4 5 6 7 8 9];
|
||||||
"HDMI-A-2" = [10];
|
"HDMI-A-3" = [10];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
# https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start
|
# https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start
|
||||||
# initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ]; # NVIDIA
|
# initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ]; # NVIDIA
|
||||||
initrd.kernelModules = ["amdgpu"]; # Initrd modules are always loaded, e.g. when they are required to mount the rootfs
|
initrd.kernelModules = ["amdgpu"]; # Initrd modules are always loaded, e.g. when they are required to mount the rootfs
|
||||||
kernelModules = ["kvm-intel" "iwlwifi"];
|
# kernelModules = ["kvm-intel" "iwlwifi"];
|
||||||
|
kernelModules = ["kvm-amd"];
|
||||||
|
|
||||||
# extraModprobeConfig = ''
|
# extraModprobeConfig = ''
|
||||||
# options iwlwifi 11n_disable=1 wd_disable=0
|
# options iwlwifi 11n_disable=1 wd_disable=0
|
||||||
@ -25,13 +26,13 @@
|
|||||||
|
|
||||||
# Specific to used kernel (currently linux_zen)
|
# Specific to used kernel (currently linux_zen)
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
new-lg4ff # Logitech force feedback
|
# new-lg4ff # Logitech force feedback
|
||||||
v4l2loopback
|
v4l2loopback
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/b87bbc3d-edd3-434a-b4a3-859bf62b8a17";
|
device = "/dev/disk/by-uuid/68bd46a0-e95c-4764-a006-44bd9975a6c2";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "noatime" "nodiratime" "discard" ];
|
options = [ "noatime" "nodiratime" "discard" ];
|
||||||
};
|
};
|
||||||
@ -41,34 +42,12 @@
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home/christoph/GameSSD" = {
|
|
||||||
device = "/dev/disk/by-uuid/fcea57ce-cd8a-44b0-a4bc-5ac11849dfb6";
|
|
||||||
fsType = "ext4";
|
|
||||||
options = [ "noatime" "nodiratime" "discard" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home/christoph/OldHome" = {
|
|
||||||
device = "/dev/disk/by-uuid/92a1dc32-48cd-4f1c-bb72-7c1c360cbb33";
|
|
||||||
fsType = "ext4";
|
|
||||||
options = [ "noatime" "nodiratime" "discard" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home/christoph/GameHDD" = {
|
|
||||||
device = "/dev/disk/by-uuid/77ae7407-5faa-4d93-8b11-a64ff9a33954";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home/christoph/Videos" = {
|
|
||||||
device = "/dev/disk/by-uuid/4ac26c8e-f9fc-449e-9a80-491558539dbb";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = lib.mkForce [
|
swapDevices = lib.mkForce [
|
||||||
{
|
# {
|
||||||
device = "/var/swap";
|
# device = "/var/swap";
|
||||||
# size = 1024 * 16 * 2; # twice the RAM for hibernation
|
# # size = 1024 * 16 * 2; # twice the RAM for hibernation
|
||||||
size = 1024 * 8; # Without hibernation 4.0 GB to 0.5 x RAM
|
# size = 1024 * 8; # Without hibernation 4.0 GB to 0.5 x RAM
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
@ -90,7 +69,8 @@
|
|||||||
# Use all redistributable firmware (i.e. nonfree)
|
# Use all redistributable firmware (i.e. nonfree)
|
||||||
enableAllFirmware = true;
|
enableAllFirmware = true;
|
||||||
enableRedistributableFirmware = true;
|
enableRedistributableFirmware = true;
|
||||||
cpu.intel.updateMicrocode = true;
|
# cpu.intel.updateMicrocode = true;
|
||||||
|
cpu.amd.updateMicrocode = true;
|
||||||
|
|
||||||
# nvidia.modesetting.enable = true; # Not officially supported by NVidia but needed for wayland
|
# nvidia.modesetting.enable = true; # Not officially supported by NVidia but needed for wayland
|
||||||
# video.hidpi.enable = lib.mkDefault true; # No longer has any effect
|
# video.hidpi.enable = lib.mkDefault true; # No longer has any effect
|
||||||
@ -105,8 +85,8 @@
|
|||||||
# amdvlk # RADV (mesa) and AMDVLK (amd) can be used simultaneously
|
# amdvlk # RADV (mesa) and AMDVLK (amd) can be used simultaneously
|
||||||
|
|
||||||
# OpenCL
|
# OpenCL
|
||||||
rocm-opencl-icd
|
# rocm-opencl-icd
|
||||||
rocm-opencl-runtime
|
# rocm-opencl-runtime
|
||||||
# rocm-runtime # Wiki doesn't mention this, but it exists...
|
# rocm-runtime # Wiki doesn't mention this, but it exists...
|
||||||
|
|
||||||
# TODO: Disabled for the moment, because hardware acceleration crashes AMDGPU driver
|
# TODO: Disabled for the moment, because hardware acceleration crashes AMDGPU driver
|
||||||
|
Reference in New Issue
Block a user