[NixOS] Add ZSA keyboard support

This commit is contained in:
Ivan Malison 2021-01-20 17:49:13 -08:00
parent fc583fde01
commit 2c7ca8ee98
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -63,13 +63,16 @@ in
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
# Video
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
# bluetooth # Bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
# Keyboard
console.keyMap = "us"; console.keyMap = "us";
hardware.keyboard.zsa.enable = true;
i18n = { i18n = {
defaultLocale = "en_US.UTF-8"; defaultLocale = "en_US.UTF-8";
@ -373,6 +376,7 @@ in
"disk" "disk"
"docker" "docker"
"networkmanager" "networkmanager"
"plugdev"
"systemd-journal" "systemd-journal"
"video" "video"
"wheel" "wheel"
@ -399,4 +403,11 @@ in
}; };
}; };
nix.trustedUsers = ["imalison"]; nix.trustedUsers = ["imalison"];
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
} }