mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-26 07:08:51 +01:00
Add variables to make theKBDLayout configure console.keyMap and Hyprland
This commit is contained in:
parent
ae7b3dca65
commit
1de46fbabd
@ -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 {
|
||||
|
11
flake.nix
11
flake.nix
@ -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;
|
||||
|
@ -31,6 +31,8 @@
|
||||
LC_TIME = "${theLCVariables}";
|
||||
};
|
||||
|
||||
console.keyMap = "${theKBDLayout}";
|
||||
|
||||
# Define a user account.
|
||||
users.users."${username}" = {
|
||||
homeMode = "755";
|
||||
|
Loading…
Reference in New Issue
Block a user