Emacs now uses flake pinning and cached packages. And dock stall workaround

This commit is contained in:
Olaf committed 2026-10-21 17:50:46 +02:00
1 parent ca6ddc4b48
commit 5e24c62d7b
8 files changed
+632 -35

No files matched your search

+14
View File
@@ -1,6 +1,7 @@
## Layout
```
.
├── dock # MacOS dock configuration
├── casks.nix # List of homebrew casks
@@ -9,3 +10,16 @@
├── home-manager.nix # Defines user programs
├── packages.nix # List of packages to install for MacOS
```
## Dock activation
Dock setup runs only when `olaf` is the active console user. Each `dockutil`
command runs as that user in their GUI session, avoiding the root-mode
`defaults export` pipe deadlock in dockutil 3.1.3. Commands have a 30-second
timeout (with a forced stop after another 5 seconds) and report failures.
A failed Dock listing aborts activation before resetting any entries.
The Dock is restarted through its user launchd service.
If setup is skipped because no matching desktop session is active, run
`sudo darwin-rebuild switch --flake .#aarch64-darwin` again after logging in
(use `x86_64-darwin` on Intel).