nix/home/program/bash/module/Power.nix

15 lines
179 B
Nix

{ ... }:
{
text = ''
# Suspend system.
function slp() {
systemctl suspend -i
}
# Poweroff.
function bye() {
systemctl poweroff -i
}
'';
}