aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/aerospace.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/aerospace.nix b/modules/aerospace.nix
new file mode 100644
index 0000000..34e7bf4
--- /dev/null
+++ b/modules/aerospace.nix
@@ -0,0 +1,21 @@
+{ config, pkgs, lib, ...}:
+
+{
+ config.aerospace.enable = lib.mkEnableOption "Enalbe aerospace and setup";
+ config.enable = lib.mkIf config.aerospace.enable {
+ programs.aerospace = {
+ enable = true;
+ userSettings = {
+ gaps = {
+ outer = 5;
+ };
+ mode.main.binding = {
+ alt-h = "focus left";
+ alt-j = "focus down";
+ alt-k = "focus up";
+ alt-l = "focus right";
+ };
+ };
+ };
+ };
+}