Update
enabled numlock at boot
This commit is contained in:
@@ -52,6 +52,19 @@
|
||||
xkbVariant = "";
|
||||
};
|
||||
|
||||
# Enable Numlock being turned on at startup
|
||||
systemd.services.numLockOnTty = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
# /run/current-system/sw/bin/setleds -D +num < "$tty";
|
||||
ExecStart = lib.mkForce (pkgs.writeShellScript "numLockOnTty" ''
|
||||
for tty in /dev/tty{1..6}; do
|
||||
${pkgs.kbd}/bin/setleds -D +num < "$tty";
|
||||
done
|
||||
'');
|
||||
};
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
# Print auto discovery is not working seeing if this fixes it.
|
||||
|
||||
Reference in New Issue
Block a user