added wvkbd according to tablet mode toggle

This commit is contained in:
2026-08-31 19:55:28 +01:00
parent c98e633178
commit 83b3cee120
2 changed files with 15 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
modules = with self.nixosModules; [ modules = with self.nixosModules; [
audio audio
systemTheme systemTheme
quickshell
]; ];
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages; runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;

View File

@@ -7,10 +7,20 @@
self', self',
pkgs, pkgs,
... ...
}: { }: {config, ...}: {
environment.systemPackages = with self'.packages; [ environment.systemPackages = with self'.packages;
[
quickshell quickshell
]; ]
++ (
if config.hyprland.enablePlugins == true
then
# If on tablet enable on screen keyboard
(with pkgs; [
wvkbd
])
else []
);
}); });
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap { packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap {