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