1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ config, lib, pkgs, ... }: with lib; { config = { xsession.numlock.enable = true; nixpkgs.overlays = [ (self: super: { numlockx = pkgs.writeScriptBin "dummy-numlockx" ""; }) ]; nmt.script = '' serviceFile=home-files/.config/systemd/user/numlockx.service assertFileExists $serviceFile ''; }; }