Tablet improvements

- rnote for note taking
- nautilus home module
- improved on screen keyboard (added russian and improved english)
This commit is contained in:
Aleksandr Lebedev 2025-08-31 15:14:25 +02:00
parent df3795f99b
commit 277951e25f
4 changed files with 46 additions and 6 deletions

View file

@ -7,11 +7,15 @@
pkgs,
lib,
...
}: let
}:
with lib.custom; let
username = config.snowfallorg.user.name;
home = config.snowfallorg.user.home.directory;
in
lib.mkIf osConfig.custom.windowManagers.niri.enable {
custom = {
programs.nautilus = enabled;
};
programs.fuzzel = {
enable = true;
settings.main.terminal = "kitty";
@ -20,6 +24,8 @@ in
enable = true;
};
home.packages = with pkgs; [
playerctl
papers
nwg-drawer
wlogout
brightnessctl
@ -136,6 +142,11 @@ in
"XF86MonBrightnessUp".action = sh "brightnessctl set 10%+";
"XF86MonBrightnessDown".action = sh "brightnessctl set 10%-";
"XF86AudioNext".action = sh "playerctl next";
"XF86AudioPause".action = sh "playerctl play-pause";
"XF86AudioPlay".action = sh "playerctl play-pause";
"XF86AudioPrev".action = sh "playerctl previous";
#"Mod+Tab".action = focus-window-down-or-column-right;
#"Mod+Shift+Tab".action = focus-window-up-or-column-left;
"Mod+Tab".action = toggle-overview;
@ -162,7 +173,7 @@ in
hide-after-inactive-ms = 10000;
};
gestures.hot-corners.enable = true;
prefer-no-csd = true;
prefer-no-csd = !config.custom.hardware.tablet.enable;
environment = {
XDG_SESSION_TYPE = "wayland";
__GL_GSYNC_ALLOWED = "1";

View file

@ -0,0 +1,28 @@
{
lib,
pkgs,
inputs,
namespace,
system,
target,
format,
virtual,
systems,
config,
...
}:
with lib;
with lib.${namespace}; let
cfg = config.${namespace}.programs.nautilus;
in {
options.${namespace}.programs.nautilus = with types; {
enable = mkBoolOpt false "Enable nautilus on platforms, that are not GNOME";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
nautilus
adwaita-icon-theme
];
};
}

View file

@ -45,6 +45,7 @@ in {
environment.systemPackages = with pkgs;
with pkgs.${namespace}; [
rnote
libreoffice
root-files
gparted

View file

@ -8,12 +8,12 @@ in
wvkbd.overrideAttrs (final: prev: {
pname = "wvkbd-kylekrein";
name = "wvkbd-kylekrein";
version = "0.17";
version = "0.17-kylekrein";
src = fetchFromGitHub {
owner = "Paulicat";
owner = "KyleKrein";
repo = "wvkbd";
rev = "ac02545ab6f6ccfa5b6f132414021ba57ea73096";
hash = "sha256-py/IqNEEaTOx/9W935Vc47WoNFz99+bNaYD0sL//JmY=";
rev = "ed46e1b0e64fd105402dc85e607892343677f5bd";
hash = "sha256-xhn3QjKJL53K59oSnnLFVEv4AyRUGhYBoqSwJe4qfxE=";
};
installFlags = prev.installFlags ++ ["LAYOUT=vistath"];
patches = prev.patches or [] ++ [smithay-patch];