fix: aerospace more strict, system fix
This commit is contained in:
parent
6f831d833e
commit
3aed04f7f5
7 changed files with 51 additions and 60 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@
|
|||
jq
|
||||
jujutsu
|
||||
lazygit
|
||||
nil
|
||||
nixd
|
||||
pandoc
|
||||
ripgrep
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
extraPackages = with pkgs; [
|
||||
# LSP Servers
|
||||
lua-language-server
|
||||
nil # Nix LSP
|
||||
pyright
|
||||
nodePackages.typescript-language-server
|
||||
mdx-language-server
|
||||
|
|
|
|||
|
|
@ -53,11 +53,11 @@ return {
|
|||
},
|
||||
})
|
||||
|
||||
-- Nix
|
||||
lspconfig.nil_ls.setup({
|
||||
-- Nix (using nixd instead of nil to avoid nix 2.31.x test failures)
|
||||
lspconfig.nixd.setup({
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
["nil"] = {
|
||||
nixd = {
|
||||
formatting = { command = { "nixfmt" } },
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue