Small config fix/cleanup and add amazing wayland OCR global link hint feature
This commit is contained in:
parent
1b91d2e7d8
commit
f3319cbfc2
106
global.nix
106
global.nix
|
|
@ -25,69 +25,6 @@
|
||||||
gtk-pipe-viewer
|
gtk-pipe-viewer
|
||||||
mpdcron
|
mpdcron
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable OpenGL/Vulkan hardware acceleration etc
|
|
||||||
hardware = {
|
|
||||||
## radv: an open-source Vulkan driver from freedesktop
|
|
||||||
graphics = {
|
|
||||||
enable = true;
|
|
||||||
enable32Bit = true;
|
|
||||||
driSupport = true;
|
|
||||||
driSupport32Bit = true;
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
#gfxreconstruct # Issue with cmake
|
|
||||||
glslang
|
|
||||||
spirv-cross
|
|
||||||
spirv-headers
|
|
||||||
spirv-tools
|
|
||||||
vulkan-extension-layer
|
|
||||||
vulkan-headers
|
|
||||||
vulkan-loader
|
|
||||||
vulkan-tools
|
|
||||||
vulkan-tools-lunarg
|
|
||||||
vulkan-utility-libraries
|
|
||||||
vulkan-validation-layers
|
|
||||||
vkdisplayinfo
|
|
||||||
vkd3d
|
|
||||||
vkd3d-proton
|
|
||||||
vk-bootstrap
|
|
||||||
rocmPackages.clr.icd
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.xserver = {
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
|
||||||
libinput.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
## amdvlk: an open-source Vulkan driver from AMD
|
|
||||||
#amdgpu.amdvlk = {
|
|
||||||
# enable = true;
|
|
||||||
# support32Bit.enable = true;
|
|
||||||
# extraPackages = with pkgs; [
|
|
||||||
# gfxreconstruct
|
|
||||||
# glslang
|
|
||||||
# spirv-cross
|
|
||||||
# spirv-headers
|
|
||||||
# spirv-tools
|
|
||||||
# vulkan-extension-layer
|
|
||||||
# vulkan-headers
|
|
||||||
# vulkan-loader
|
|
||||||
# vulkan-tools
|
|
||||||
# vulkan-tools-lunarg
|
|
||||||
# vulkan-utility-libraries
|
|
||||||
# vulkan-validation-layers
|
|
||||||
# vkdisplayinfo
|
|
||||||
# vkd3d
|
|
||||||
# vkd3d-proton
|
|
||||||
# vk-bootstrap
|
|
||||||
# ];
|
|
||||||
#};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable proper support for USB wifi/Wwan adapters.
|
|
||||||
hardware.usbWwan.enable = true;
|
|
||||||
|
|
||||||
# You can specify here what python packages you waint available to python
|
# You can specify here what python packages you waint available to python
|
||||||
# Custom Python package with all the (Python) imports I need
|
# Custom Python package with all the (Python) imports I need
|
||||||
my-python-packages = python-packages: with python-packages; [ # ...
|
my-python-packages = python-packages: with python-packages; [ # ...
|
||||||
|
|
@ -353,6 +290,7 @@
|
||||||
|
|
||||||
yazi
|
yazi
|
||||||
ueberzugpp # To display images in yazi via alacritty
|
ueberzugpp # To display images in yazi via alacritty
|
||||||
|
wl-kbptr # Controlling the mouse using the keyboard + optical recognition
|
||||||
|
|
||||||
ncdu
|
ncdu
|
||||||
|
|
||||||
|
|
@ -366,6 +304,48 @@
|
||||||
|
|
||||||
] ++ stablePackages;
|
] ++ stablePackages;
|
||||||
|
|
||||||
|
# Enable OpenGL/Vulkan hardware acceleration etc
|
||||||
|
hardware = {
|
||||||
|
## radv: an open-source Vulkan driver from freedesktop
|
||||||
|
graphics = {
|
||||||
|
enable = true;
|
||||||
|
enable32Bit = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
## amdvlk: an open-source Vulkan driver from AMD
|
||||||
|
#amdgpu.amdvlk = {
|
||||||
|
# enable = true;
|
||||||
|
# support32Bit.enable = true;
|
||||||
|
# extraPackages = with pkgs; [
|
||||||
|
# gfxreconstruct
|
||||||
|
# glslang
|
||||||
|
# spirv-cross
|
||||||
|
# spirv-headers
|
||||||
|
# spirv-tools
|
||||||
|
# vulkan-extension-layer
|
||||||
|
# vulkan-headers
|
||||||
|
# vulkan-loader
|
||||||
|
# vulkan-tools
|
||||||
|
# vulkan-tools-lunarg
|
||||||
|
# vulkan-utility-libraries
|
||||||
|
# vulkan-validation-layers
|
||||||
|
# vkdisplayinfo
|
||||||
|
# vkd3d
|
||||||
|
# vkd3d-proton
|
||||||
|
# vk-bootstrap
|
||||||
|
# ];
|
||||||
|
#};
|
||||||
|
|
||||||
|
# Enable proper support for USB wifi/Wwan adapters.
|
||||||
|
usbWwan.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
|
libinput.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# Steam Game Platform
|
# Steam Game Platform
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -312,6 +312,9 @@ binds {
|
||||||
Super+L { spawn "swaylock"; }
|
Super+L { spawn "swaylock"; }
|
||||||
Ctrl+Alt+P { spawn "fuzzel-pass"; }
|
Ctrl+Alt+P { spawn "fuzzel-pass"; }
|
||||||
|
|
||||||
|
// Link hints using OCR
|
||||||
|
Alt+F { spawn "wl-kbptr" "-o" "modes=floating,click" "-o" "mode_floating.source=detect"; }
|
||||||
|
|
||||||
// You can also use a shell:
|
// You can also use a shell:
|
||||||
// Alt+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
// Alt+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
|
||||||
|
|
||||||
|
|
@ -473,8 +476,8 @@ binds {
|
||||||
|
|
||||||
// Alt+R { switch-preset-column-width; }
|
// Alt+R { switch-preset-column-width; }
|
||||||
// Alt+Shift+R { reset-window-height; }
|
// Alt+Shift+R { reset-window-height; }
|
||||||
Alt+F { maximize-column; }
|
Alt+Shift+F { maximize-column; }
|
||||||
Alt+Shift+F { fullscreen-window; }
|
Alt+F11 { fullscreen-window; }
|
||||||
Alt+C { center-column; }
|
Alt+C { center-column; }
|
||||||
|
|
||||||
// Finer width adjustments.
|
// Finer width adjustments.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue