From 2c7ca8ee984d6317cf8245e1e856e32c8f13894d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 20 Jan 2021 17:49:13 -0800 Subject: [PATCH] [NixOS] Add ZSA keyboard support --- nixos/configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index bff90a88..c09ccb02 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -63,13 +63,16 @@ in sound.enable = true; hardware.pulseaudio.enable = true; + # Video hardware.opengl.driSupport32Bit = true; - # bluetooth + # Bluetooth hardware.bluetooth.enable = true; services.blueman.enable = true; + # Keyboard console.keyMap = "us"; + hardware.keyboard.zsa.enable = true; i18n = { defaultLocale = "en_US.UTF-8"; @@ -373,6 +376,7 @@ in "disk" "docker" "networkmanager" + "plugdev" "systemd-journal" "video" "wheel" @@ -399,4 +403,11 @@ in }; }; nix.trustedUsers = ["imalison"]; + + nix = { + package = pkgs.nixFlakes; + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; }