chore: update deprecated xserver option
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
540db27873
commit
6441ae6548
3 changed files with 10 additions and 8 deletions
|
@ -52,9 +52,9 @@
|
|||
services = {
|
||||
fwupd.enable = true;
|
||||
|
||||
xserver = {
|
||||
xserver.xkb = {
|
||||
layout = "ca";
|
||||
xkbVariant = "multix";
|
||||
variant = "multix";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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'"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue