depot/third_party/home-manager/tests/modules/misc/numlock/numlock.nix

17 lines
262 B
Nix
Raw Normal View History

{ 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
'';
};
}