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 = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
|
||||||
xserver = {
|
xserver.xkb = {
|
||||||
layout = "ca";
|
layout = "ca";
|
||||||
xkbVariant = "multix";
|
variant = "multix";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -89,10 +89,10 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
input = let
|
input = let
|
||||||
inherit (config.services) xserver;
|
inherit (config.services.xserver) xkb;
|
||||||
in {
|
in {
|
||||||
kb_layout = xserver.layout;
|
kb_layout = xkb.layout;
|
||||||
kb_variant = xserver.xkbVariant;
|
kb_variant = xkb.variant;
|
||||||
follow_mouse = true;
|
follow_mouse = true;
|
||||||
|
|
||||||
touchpad = {
|
touchpad = {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{config, ...}: {
|
{config, ...}: let
|
||||||
|
inherit (config.services.xserver) xkb;
|
||||||
|
in {
|
||||||
services.kmscon = {
|
services.kmscon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hwRender = false;
|
hwRender = false;
|
||||||
|
@ -6,8 +8,8 @@
|
||||||
extraOptions = builtins.concatStringsSep " " [
|
extraOptions = builtins.concatStringsSep " " [
|
||||||
"--font-size 12.5"
|
"--font-size 12.5"
|
||||||
"--font-dpi 170"
|
"--font-dpi 170"
|
||||||
"--xkb-layout ${config.services.xserver.layout}"
|
"--xkb-layout ${xkb.layout}"
|
||||||
"--xkb-variant ${config.services.xserver.xkbVariant}"
|
"--xkb-variant ${xkb.variant}"
|
||||||
"--font-name 'JetBrainsMono Nerd Font'"
|
"--font-name 'JetBrainsMono Nerd Font'"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue