mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-22 21:33:21 +03:00
278b15d840
svn path=/nixos/branches/modular-nixos/; revision=15725
21 lines
281 B
Nix
21 lines
281 B
Nix
{pkgs, config, ...}:
|
|
|
|
###### implementation
|
|
|
|
{
|
|
|
|
services = {
|
|
extraJobs = [{
|
|
name = "ctrl-alt-delete";
|
|
|
|
job = ''
|
|
on ctrlaltdel
|
|
|
|
script
|
|
shutdown -r now 'Ctrl-Alt-Delete pressed'
|
|
end script
|
|
'';
|
|
}];
|
|
};
|
|
}
|