From e83c4c31a8bda073720d03970a55456bbb40de37 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Tue, 14 Nov 2023 21:25:41 +0100 Subject: [PATCH] Add keyboard variants and wireplumber --- modules/hm/hyprland.nix | 6 +++--- modules/nixos/hyprland.nix | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/hm/hyprland.nix b/modules/hm/hyprland.nix index dd1e088..c637f45 100644 --- a/modules/hm/hyprland.nix +++ b/modules/hm/hyprland.nix @@ -66,10 +66,10 @@ # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { - kb_layout = ${if nixosConfig.networking.hostName == "thor" then "us" else "it" } - kb_variant = + kb_layout = ${if nixosConfig.networking.hostName == "thor" then "us,it,us" else "it,us,us" } + kb_variant = ,,colemak kb_model = - kb_options = grp:menu_toggle, compose:rctrl + kb_options = grp:menu_toggle,compose:rctrl kb_rules = follow_mouse = 2 diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index 84565ba..708309e 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -15,6 +15,8 @@ nvidia.modesetting.enable = builtins.elem "nvidia" config.services.xserver.videoDrivers; }; + services.pipewire.wireplumber.enable = true; + security.pam.services.swaylock = { text = '' auth include login