From 23ebcc4a6683353c49e6dbd9a4bf957ab91b2b6a Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 29 Feb 2024 19:03:08 -0500 Subject: [PATCH] moved qmk to programs and added via package --- flake.nix | 1 + hardware/default.nix | 1 - hardware/qmk/default.nix | 5 ----- programs/via-qmk/default.nix | 9 +++++++++ 4 files changed, 10 insertions(+), 6 deletions(-) delete mode 100644 hardware/qmk/default.nix create mode 100644 programs/via-qmk/default.nix diff --git a/flake.nix b/flake.nix index 6b4c4ad4..91ad7cbd 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,7 @@ ./desktop/gnome ./programs/podman ./programs/steam + ./programs/via-qmk nix-flatpak.nixosModules.nix-flatpak # make home-manager as a module of nixos diff --git a/hardware/default.nix b/hardware/default.nix index aaf4c521..38bc93f3 100644 --- a/hardware/default.nix +++ b/hardware/default.nix @@ -3,7 +3,6 @@ { imports = [ # Include the results of the hardware scan. - ./qmk ./sound ]; } \ No newline at end of file diff --git a/hardware/qmk/default.nix b/hardware/qmk/default.nix deleted file mode 100644 index b95190ec..00000000 --- a/hardware/qmk/default.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ config, pkgs, ... }: - -{ - hardware.keyboard.qmk.enable= true; -} diff --git a/programs/via-qmk/default.nix b/programs/via-qmk/default.nix new file mode 100644 index 00000000..91389c85 --- /dev/null +++ b/programs/via-qmk/default.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + hardware.keyboard.qmk.enable = true; + environment.systemPackages = with pkgs; [ + via + ]; +} +