76f7978cc6
svn path=/nixos/branches/fix-style/; revision=14406
20 lines
281 B
Nix
20 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
|
|
'';
|
|
}];
|
|
};
|
|
}
|