moore tiling
This commit is contained in:
@@ -114,7 +114,6 @@ in
|
||||
# Flutter and co
|
||||
"dart-code.flutter"
|
||||
"dart-code.dart-code"
|
||||
|
||||
];
|
||||
|
||||
keybindings = baseKeybindings;
|
||||
@@ -177,5 +176,14 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
profiles.cloud = {
|
||||
extensions = baseExtensions ++ pkgs.nix4vscode.forVscode [
|
||||
"Tim-Koehler.helm-intellisense"
|
||||
"HashiCorp.terraform"
|
||||
];
|
||||
keybindings = baseKeybindings;
|
||||
userSettings = baseSettings;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
16
modules/home-manager/macos-tiling/default.nix
Normal file
16
modules/home-manager/macos-tiling/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.nix-config.macos;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
};
|
||||
|
||||
imports = [
|
||||
./tiling.nix
|
||||
];
|
||||
}
|
||||
48
modules/home-manager/macos-tiling/tiling.nix
Normal file
48
modules/home-manager/macos-tiling/tiling.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = [
|
||||
pkgs.scroll-reverser
|
||||
];
|
||||
programs.aerospace = {
|
||||
enable = true;
|
||||
|
||||
launchd.enable = true;
|
||||
|
||||
settings = {
|
||||
gaps = {
|
||||
outer.left = 4;
|
||||
outer.bottom = 4;
|
||||
outer.top = 4;
|
||||
outer.right = 4;
|
||||
|
||||
inner.vertical = 2;
|
||||
inner.horizontal = 2;
|
||||
};
|
||||
|
||||
mode.main.binding = {
|
||||
alt-enter = ''exec-and-forget osascript -e '
|
||||
tell application "Terminal"
|
||||
do script
|
||||
activate
|
||||
end tell'
|
||||
'';
|
||||
|
||||
alt-f = "fullscreen";
|
||||
|
||||
alt-h = "focus left";
|
||||
alt-j = "focus down";
|
||||
alt-k = "focus up";
|
||||
alt-l = "focus right";
|
||||
|
||||
alt-1 = "workspace 1";
|
||||
alt-2 = "workspace 2";
|
||||
alt-3 = "workspace 3";
|
||||
|
||||
alt-shift-1 = "move-node-to-workspace 1";
|
||||
alt-shift-2 = "move-node-to-workspace 2";
|
||||
alt-shift-3 = "move-node-to-workspace 3";
|
||||
|
||||
alt-tab = "workspace-back-and-forth";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
11
modules/home-manager/work/aliases.nix
Normal file
11
modules/home-manager/work/aliases.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
# Add aliases for the various environments in aws so that their contexts can be easily switched
|
||||
programs.fish.shellAliases = {
|
||||
cdev = "aws-vault exec dev --";
|
||||
cstage = "aws-vault exec stage --";
|
||||
cprod = "aws-vault exec prod --";
|
||||
clogs = "aws-vault exec logs --";
|
||||
cshared = "aws-vault exec shared --";
|
||||
};
|
||||
}
|
||||
@@ -11,6 +11,7 @@ in
|
||||
};
|
||||
|
||||
imports = [
|
||||
./aliases.nix
|
||||
./cryptography.nix
|
||||
./kluster.nix
|
||||
];
|
||||
|
||||
@@ -2,8 +2,13 @@
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.kubernetes-helm
|
||||
pkgs.awscli
|
||||
pkgs.awscli2
|
||||
pkgs.aws-vault
|
||||
pkgs.k9s
|
||||
|
||||
# some parsers
|
||||
pkgs.ripgrep
|
||||
pkgs.jq
|
||||
pkgs.yq
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user