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 + ]; +} +