moore tiling

This commit is contained in:
Remy Moll
2025-12-05 17:20:44 +01:00
parent 6ee9e50a01
commit 895a6011a0
12 changed files with 147 additions and 157 deletions

View File

@@ -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;
};
};
}

View File

@@ -0,0 +1,16 @@
{
config,
lib,
...
}:
let
cfg = config.nix-config.macos;
in
{
options = {
};
imports = [
./tiling.nix
];
}

View 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";
};
};
};
}

View 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 --";
};
}

View File

@@ -11,6 +11,7 @@ in
};
imports = [
./aliases.nix
./cryptography.nix
./kluster.nix
];

View File

@@ -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
];
}