Add kb variant

This commit is contained in:
muon 2025-12-25 15:44:14 +00:00
parent 600496e419
commit 5bdf9e3a2c

View file

@ -1,5 +1,9 @@
{ pkgs, lib, config, ... }:
let
{
pkgs,
lib,
config,
...
}: let
monitorModule = lib.types.submodule {
options = {
name = lib.mkOption {
@ -18,7 +22,7 @@ in {
xorg.enable = lib.mkEnableOption "enables xorg";
monitors = lib.mkOption {
type = lib.types.attrsOf monitorModule;
default = { };
default = {};
};
};
@ -28,11 +32,14 @@ in {
"multi-user.target"
"network-online.target"
];
in lib.mkIf config.mods.xorg.enable {
in
lib.mkIf config.mods.xorg.enable {
services.xserver.enable = true;
services.xserver.xkb.layout = "us";
services.xserver.xkb.options = "caps:escape";
services.xserver.xkb = {
layout = "us";
variant = "altgr-intl";
options = "caps:escape";
};
services.xserver.dpi = 96;
# services.xserver.displayManager.gdm.enable = true;