diff options
Diffstat (limited to 'users/kassouni/palette/reboot.nix')
| -rw-r--r-- | users/kassouni/palette/reboot.nix | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/users/kassouni/palette/reboot.nix b/users/kassouni/palette/reboot.nix index bc25ef4..09b2efe 100644 --- a/users/kassouni/palette/reboot.nix +++ b/users/kassouni/palette/reboot.nix @@ -1,9 +1,13 @@ -{ writers, systemd }: +{ pkgs, ... }: { - name = "reboot"; - icon = ""; - exe = writers.writeBash "reboot" '' - set -eu - exec ${systemd}/bin/systemctl reboot - ''; + kassouni.palette.commands = [ + { + name = "reboot"; + icon = ""; + exe = pkgs.writers.writeBash "reboot" '' + set -eu + exec ${pkgs.systemd}/bin/systemctl reboot + ''; + } + ]; } |
