fix: xkb options change, see nixpkgs#259891

This commit is contained in:
xinyangli 2024-03-07 12:03:59 +08:00
parent 40ae3cc6e2
commit 26a11e0df0
No known key found for this signature in database
3 changed files with 8 additions and 4 deletions

View file

@ -73,8 +73,8 @@
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
layout = "us"; xkb.layout = "us";
xkbVariant = ""; xkb.variant = "";
}; };
# Keyboard mapping on internal keyboard # Keyboard mapping on internal keyboard
services.keyd = { services.keyd = {
@ -294,7 +294,6 @@
libvirtd.enable = true; libvirtd.enable = true;
podman = { podman = {
enable = true; enable = true;
enableNvidia = true;
}; };
docker = { docker = {
enable = true; enable = true;

View file

@ -49,4 +49,9 @@
enable = true; enable = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
hardware.nvidia = {
powerManagement.enable = true;
dynamicBoost.enable = lib.mkForce false;
};
} }

View file

@ -38,7 +38,7 @@
networking.firewall.allowedUDPPorts = [ ] ++ (lib.range 6311 6314); networking.firewall.allowedUDPPorts = [ ] ++ (lib.range 6311 6314);
custom.prometheus = { custom.prometheus = {
enable = true; enable = false;
exporters.enable = true; exporters.enable = true;
grafana = { grafana = {
enable = true; enable = true;