`sudo systemctl suspend` wasn't working because it required a secure password prompt to read the user's password for `sudo`. The recommended way to call `shell-command` with a `sudo` command (from what I read online) is to set `default-directory` to `/sudo::` before calling `shell-command`. This works just fine, so I refactored the function, `window-manager-logout`. |
||
|---|---|---|
| .. | ||
| .emacs.d | ||
| default.nix | ||
| elisp-conventions.md | ||
| keybindings.md | ||
| README.md | ||
| snippets.md | ||
Emacs
Emacs is one of a handful software projects that I highly value. I consider it
as central to my workflow as git and nix.
Installing
If you already have briefcase on your local file system, run the following
from the top-level briefcase directory:
$ nix-build -f . -iA emacs.nixos