Merge branch 'kbd-fix' into 'main'

Add variables to make theKBDLayout configure console.keyMap and Hyprland

See merge request Zaney/zaneyos!4
This commit is contained in:
Tyler Kelley 2024-02-05 04:14:17 +00:00
commit d91434a8e4
3 changed files with 10 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ pkgs, config, lib, browser,
cpuType, gpuType, wallpaperDir,
inputs, borderAnim, ... }:
inputs, borderAnim, theKBDLayout, ... }:
let
theme = config.colorScheme.colors;
@ -30,7 +30,7 @@ in with lib; {
resize_on_border = true
}
input {
kb_layout = us
kb_layout = ${theKBDLayout}
kb_options=caps:super
follow_mouse = 1
touchpad {

View File

@ -71,11 +71,12 @@
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = { inherit username;
inherit gitUsername; inherit gitEmail;
inherit inputs; inherit theme;
inherit browser; inherit wallpaperDir;
inherit wallpaperGit; inherit flakeDir;
inherit gpuType; inherit cpuType;
inherit waybarStyle; inherit borderAnim;
inherit theKBDLayout; inherit inputs;
inherit theme; inherit browser;
inherit wallpaperDir; inherit wallpaperGit;
inherit flakeDir; inherit gpuType;
inherit cpuType; inherit waybarStyle;
inherit borderAnim;
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
};
home-manager.useGlobalPkgs = true;

View File

@ -31,6 +31,8 @@
LC_TIME = "${theLCVariables}";
};
console.keyMap = "${theKBDLayout}";
# Define a user account.
users.users."${username}" = {
homeMode = "755";