Update IP for maddy and enable zram
This commit is contained in:
parent
df272e7d9b
commit
26b0313bcd
4 changed files with 23 additions and 6 deletions
|
@ -72,6 +72,22 @@
|
|||
)
|
||||
];
|
||||
};
|
||||
## Virtual keyboard
|
||||
systemd.user.services.wvkbd = {
|
||||
Unit = {
|
||||
Description = "Wayland virtual keyboard";
|
||||
};
|
||||
Install.WantedBy = [ "waybar.service" ];
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.wvkbd}/bin/wvkbd-mobintl -l simple,special,emoji --landscape-layers simple,special,emoji --hidden";
|
||||
};
|
||||
};
|
||||
wayland.windowManager.sway.extraConfig = ''
|
||||
bindswitch tablet:on exec systemctl --user kill --signal SIGUSR2 wvkbd
|
||||
bindswitch tablet:off exec systemctl --user kill --signal SIGUSR1 wvkbd
|
||||
'';
|
||||
|
||||
# input-remapping
|
||||
xdg.configFile."autostart/input-remapper-autoload.desktop".source =
|
||||
"${pkgs.input-remapper}/share/applications/input-remapper-autoload.desktop";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue