move qmk stuff to separate file

This commit is contained in:
jacekpoz 2024-05-24 13:58:13 +02:00
parent ca353faf97
commit 7a7707003a
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
5 changed files with 15 additions and 4 deletions

View file

@ -16,6 +16,7 @@ _: {
../../options/desktop/fonts.nix
../../options/desktop/mullvad-vpn.nix
../../options/desktop/power-supply.nix
../../options/desktop/qmk.nix
../../options/desktop/random-mac.nix
../../options/desktop/suspend.nix
../../options/desktop/v4l2.nix

View file

@ -150,8 +150,6 @@ in {
python3
wev
enigma
via
vial
rustdesk
superTuxKart
solaar

View file

@ -21,6 +21,7 @@ _: {
../../options/desktop/mullvad-vpn.nix
../../options/desktop/opentabletdriver.nix
#../../options/desktop/power-supply.nix
../../options/desktop/qmk.nix
../../options/desktop/random-mac.nix
../../options/desktop/suspend.nix
../../options/desktop/v4l2.nix

View file

@ -150,8 +150,6 @@ in {
python3
wev
enigma
via
vial
rustdesk
superTuxKart
solaar

13
options/desktop/qmk.nix Normal file
View file

@ -0,0 +1,13 @@
{
config,
pkgs,
...
}: let
inherit (config.myOptions.other.system) username;
in {
hardware.keyboard.qmk.enable = true;
home-manager.users.${username} = {
home.packages = with pkgs; [ via vial ];
};
}