1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 17:19:45 +01:00
home-manager/tests/modules/misc/numlock/numlock.nix
Evan Stoll 9b1b55ba02
numlock: add test
- Add evanjs to CODEOWNERS for numlock and numlock test
- Add evanjs to maintainers for numlock module
2020-09-18 19:35:19 +02:00

18 lines
340 B
Nix

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