mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
19 lines
340 B
Nix
19 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
|
||
|
'';
|
||
|
};
|
||
|
}
|