fix: keyd doesn't restart properly on rebuild

This commit is contained in:
Noah Masur 2023-09-30 10:20:45 -04:00
parent d84be966fc
commit 352f515798

View File

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, pkgs, ... }: {
config = {
@ -23,6 +23,10 @@
};
};
# For some reason, keyd doesn't restart properly when updating
system.activationScripts.keyd.text =
"${pkgs.systemd}/bin/systemctl restart keyd.service";
# Enable num lock on login
home-manager.users.${config.user}.xsession.numlock.enable = true;