fix: aerospace more strict, system fix

This commit is contained in:
Rasyidan Akbar F. 2026-01-06 13:55:15 +07:00
commit 3aed04f7f5
7 changed files with 51 additions and 60 deletions

View file

@ -21,11 +21,21 @@
on-focused-monitor-changed = [ "move-mouse monitor-lazy-center" ];
on-focus-changed = [ "move-mouse window-lazy-center" ];
on-window-detected = [{
"if".app-id = "com.mitchellh.ghostty";
"if".workspace = "5";
run = [ "layout floating" ];
}];
# Flatten workspace tree on switch to prevent nested container issues
exec-on-workspace-change = [ "flatten-workspace-tree" ];
on-window-detected = [
# Default: force all windows to tile
{
run = "layout tiling";
}
# Exception: Ghostty on workspace 5 floats
{
"if".app-id = "com.mitchellh.ghostty";
"if".workspace = "5";
run = "layout floating";
}
];
mode = modes;
}

View file

@ -2,6 +2,7 @@
imports = [ ./homebrew.nix ./devtools.nix ];
nix = {
# Use default nix version from nixpkgs (don't pin to avoid rebuild issues)
extraOptions = ''
keep-derivations = true
keep-outputs = true