From 30fd86e7d0e69e56005fc0e727ba42caf92eafab Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 27 Dec 2023 18:30:12 +0900 Subject: [PATCH] Add zsa keyboard support to desktop and laptop --- nixos/hosts/nixos-desktop/default.nix | 1 + nixos/hosts/nixos-framework/default.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index e4152552..92814178 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -17,6 +17,7 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.keyboard.zsa.enable = true; # Set your time zone. time.timeZone = "Asia/Tokyo"; diff --git a/nixos/hosts/nixos-framework/default.nix b/nixos/hosts/nixos-framework/default.nix index d13fbab9..f8d00c5c 100644 --- a/nixos/hosts/nixos-framework/default.nix +++ b/nixos/hosts/nixos-framework/default.nix @@ -21,6 +21,8 @@ networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; + hardware.keyboard.zsa.enable = true; + # hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; # Set your time zone.