From 211f311d0d6ca9edab24e26ebd4dda1220e564c1 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Sat, 4 Jan 2025 17:43:21 +0100 Subject: [PATCH] =?UTF-8?q?=E2=8C=A8=20Keyboard=20config=20for=20Via/Qmk?= =?UTF-8?q?=20keyboard,=20added=20VLC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.nix | 2 ++ keyboard.nix | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 keyboard.nix diff --git a/configuration.nix b/configuration.nix index 16ce630..24bafeb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,6 +11,7 @@ imports = [ ./gnome ./hardware-configuration.nix + ./keyboard.nix ./terminal ./hyprland ./audio.nix @@ -71,6 +72,7 @@ discord nix-prefetch-github # Cmd to get rev and hash from GitHub gimp + vlc ]; nix.settings.experimental-features = [ diff --git a/keyboard.nix b/keyboard.nix new file mode 100644 index 0000000..8840a94 --- /dev/null +++ b/keyboard.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + via + ]; + + hardware.keyboard.qmk.enable = true; + + services.udev.packages = with pkgs; [ via ]; +}