depot/third_party/home-manager/tests/modules/misc/numlock/numlock.nix
Default email cfcd52ff70 Project import generated by Copybara.
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
2021-11-05 00:42:44 +08:00

16 lines
262 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
xsession.numlock.enable = true;
test.stubs.numlockx = { };
nmt.script = ''
serviceFile=home-files/.config/systemd/user/numlockx.service
assertFileExists $serviceFile
'';
};
}