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; [
audio
systemTheme
quickshell
];
runtimePkgs = self'.packages.hyprland.passthru.runtimePackages;

View File

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