2009-10-12 18:36:19 +02:00
|
|
|
{ config, pkgs, ... }:
|
2009-03-06 13:27:45 +01:00
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
2006-11-24 01:34:50 +01:00
|
|
|
{
|
2009-11-06 20:20:09 +01:00
|
|
|
jobs.control_alt_delete =
|
|
|
|
{ name = "control-alt-delete";
|
2006-11-24 01:34:50 +01:00
|
|
|
|
2009-11-06 20:20:09 +01:00
|
|
|
startOn = "control-alt-delete";
|
2009-10-12 18:36:19 +02:00
|
|
|
|
|
|
|
task = true;
|
|
|
|
|
|
|
|
script =
|
|
|
|
''
|
|
|
|
shutdown -r now 'Ctrl-Alt-Delete pressed'
|
|
|
|
'';
|
|
|
|
};
|
2006-11-24 01:34:50 +01:00
|
|
|
}
|