diff --git a/apps/hyprland/hypr/input.nix b/apps/hyprland/hypr/input.nix index 05d480e..934f006 100644 --- a/apps/hyprland/hypr/input.nix +++ b/apps/hyprland/hypr/input.nix @@ -1,9 +1,10 @@ -{ +{myConfig, ...}: { wayland.windowManager.hyprland.settings = { input = { repeat_rate = 50; repeat_delay = 300; numlock_by_default = true; + kb_options = myConfig.hyprland.kb_options; }; cursor = { hide_on_key_press = false; diff --git a/config.nix b/config.nix index b4d7c2a..0e170f8 100644 --- a/config.nix +++ b/config.nix @@ -34,6 +34,7 @@ ]; wallpaper = "firewatch.png"; + kb_options = "altwin:swap_lalt_lwin"; }; firefox = { bookmarks = [ @@ -94,6 +95,7 @@ "eDP-1, highres, auto, 2" ]; wallpaper = "firewatch.png"; + kb_options = ""; }; firefox = { bookmarks = [ diff --git a/modules/home/apps-optional.nix b/modules/home/apps-optional.nix index 8706100..4bdf648 100644 --- a/modules/home/apps-optional.nix +++ b/modules/home/apps-optional.nix @@ -1,4 +1,4 @@ -{ +{pkgs, ...}: { imports = [ ../../apps/btop ../../apps/anki @@ -12,4 +12,7 @@ ../../apps/ttyper ../../apps/libreoffice ]; + home.packages = with pkgs; [ + chromium + ]; }