mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 08:03:09 +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,
|
{ pkgs, config, lib, browser,
|
||||||
cpuType, gpuType, wallpaperDir,
|
cpuType, gpuType, wallpaperDir,
|
||||||
inputs, borderAnim, ... }:
|
inputs, borderAnim, theKBDLayout, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
theme = config.colorScheme.colors;
|
theme = config.colorScheme.colors;
|
||||||
@ -30,7 +30,7 @@ in with lib; {
|
|||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = ${theKBDLayout}
|
||||||
kb_options=caps:super
|
kb_options=caps:super
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
touchpad {
|
touchpad {
|
||||||
|
11
flake.nix
11
flake.nix
@ -71,11 +71,12 @@
|
|||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.extraSpecialArgs = { inherit username;
|
home-manager.extraSpecialArgs = { inherit username;
|
||||||
inherit gitUsername; inherit gitEmail;
|
inherit gitUsername; inherit gitEmail;
|
||||||
inherit inputs; inherit theme;
|
inherit theKBDLayout; inherit inputs;
|
||||||
inherit browser; inherit wallpaperDir;
|
inherit theme; inherit browser;
|
||||||
inherit wallpaperGit; inherit flakeDir;
|
inherit wallpaperDir; inherit wallpaperGit;
|
||||||
inherit gpuType; inherit cpuType;
|
inherit flakeDir; inherit gpuType;
|
||||||
inherit waybarStyle; inherit borderAnim;
|
inherit cpuType; inherit waybarStyle;
|
||||||
|
inherit borderAnim;
|
||||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||||
};
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
LC_TIME = "${theLCVariables}";
|
LC_TIME = "${theLCVariables}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.keyMap = "${theKBDLayout}";
|
||||||
|
|
||||||
# Define a user account.
|
# Define a user account.
|
||||||
users.users."${username}" = {
|
users.users."${username}" = {
|
||||||
homeMode = "755";
|
homeMode = "755";
|
||||||
|
Loading…
Reference in New Issue
Block a user