chore: update deprecated xserver option
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-05 06:40:53 -05:00
parent 540db27873
commit 6441ae6548
3 changed files with 10 additions and 8 deletions

View file

@ -52,9 +52,9 @@
services = {
fwupd.enable = true;
xserver = {
xserver.xkb = {
layout = "ca";
xkbVariant = "multix";
variant = "multix";
};
};

View file

@ -89,10 +89,10 @@ in {
];
input = let
inherit (config.services) xserver;
inherit (config.services.xserver) xkb;
in {
kb_layout = xserver.layout;
kb_variant = xserver.xkbVariant;
kb_layout = xkb.layout;
kb_variant = xkb.variant;
follow_mouse = true;
touchpad = {

View file

@ -1,4 +1,6 @@
{config, ...}: {
{config, ...}: let
inherit (config.services.xserver) xkb;
in {
services.kmscon = {
enable = true;
hwRender = false;
@ -6,8 +8,8 @@
extraOptions = builtins.concatStringsSep " " [
"--font-size 12.5"
"--font-dpi 170"
"--xkb-layout ${config.services.xserver.layout}"
"--xkb-variant ${config.services.xserver.xkbVariant}"
"--xkb-layout ${xkb.layout}"
"--xkb-variant ${xkb.variant}"
"--font-name 'JetBrainsMono Nerd Font'"
];
};