mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: aerospace, wezterm config
utm for vm
This commit is contained in:
parent
5cf816da96
commit
8014e2cc45
4 changed files with 66 additions and 4 deletions
|
|
@ -88,7 +88,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
alt-tab = "workspace-back-and-forth";
|
alt-tab = "workspace-back-and-forth";
|
||||||
alt-shift-tab = "move-workspace-to-monitor --wrap-around next";
|
alt-shift-tab = "move-node-to-monitor --wrap-around next";
|
||||||
|
|
||||||
alt-shift-semicolon = "mode service";
|
alt-shift-semicolon = "mode service";
|
||||||
};
|
};
|
||||||
|
|
@ -141,6 +141,51 @@
|
||||||
"8" = "main";
|
"8" = "main";
|
||||||
"9" = "main";
|
"9" = "main";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
on-window-detected = [
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "com.apple.finder";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "com.apple.Notes";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "com.daymore.Across";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "com.bitwarden.desktop";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "org.hammerspoon.Hammerspoon";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"if" = {
|
||||||
|
app-id = "com.utmapp.UTM";
|
||||||
|
};
|
||||||
|
check-further-callbacks = true;
|
||||||
|
run = ["layout floating"];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
11
home/ssh.nix
11
home/ssh.nix
|
|
@ -4,12 +4,19 @@
|
||||||
enableDefaultConfig = false;
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"*" = {};
|
"*" = {};
|
||||||
"github.com" = {
|
"Github" = {
|
||||||
host = "github.com";
|
hostname = "github.com";
|
||||||
user = "git";
|
user = "git";
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
identityFile = [config.sops.secrets."github_ssh_key".path];
|
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||||
};
|
};
|
||||||
|
"Valkyrie-Ubuntu_Server" = {
|
||||||
|
hostname = "192.168.64.2";
|
||||||
|
user = "poby";
|
||||||
|
port = 22;
|
||||||
|
identitiesOnly = true;
|
||||||
|
identityFile = [config.sops.secrets."github_ssh_key".path];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ config = {
|
||||||
-- Appearance
|
-- Appearance
|
||||||
color_scheme = "Tokyo Night",
|
color_scheme = "Tokyo Night",
|
||||||
font = wezterm.font("D2CodingLigature Nerd Font"),
|
font = wezterm.font("D2CodingLigature Nerd Font"),
|
||||||
font_size = 16,
|
font_size = 18,
|
||||||
background = {
|
background = {
|
||||||
{
|
{
|
||||||
source = { Color = "#282c35" },
|
source = { Color = "#282c35" },
|
||||||
|
|
@ -29,6 +29,15 @@ config = {
|
||||||
top = 0,
|
top = 0,
|
||||||
bottom = 0,
|
bottom = 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Keymappings
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
key = "P",
|
||||||
|
mods = "SUPER",
|
||||||
|
action = wezterm.action.ActivateCommandPalette,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@
|
||||||
"kekaexternalhelper"
|
"kekaexternalhelper"
|
||||||
"stats"
|
"stats"
|
||||||
"iina"
|
"iina"
|
||||||
|
"utm"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue