From 7a7707003a74dc2e93f73a98f1958e73e5c05570 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 24 May 2024 13:58:13 +0200 Subject: [PATCH 1/2] move qmk stuff to separate file --- hosts/del/profile.nix | 1 + hosts/del/programs.nix | 2 -- hosts/niks/profile.nix | 1 + hosts/niks/programs.nix | 2 -- options/desktop/qmk.nix | 13 +++++++++++++ 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 options/desktop/qmk.nix diff --git a/hosts/del/profile.nix b/hosts/del/profile.nix index 57ef5dc..008a4f1 100644 --- a/hosts/del/profile.nix +++ b/hosts/del/profile.nix @@ -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 diff --git a/hosts/del/programs.nix b/hosts/del/programs.nix index 1cd18ad..d0cf667 100644 --- a/hosts/del/programs.nix +++ b/hosts/del/programs.nix @@ -150,8 +150,6 @@ in { python3 wev enigma - via - vial rustdesk superTuxKart solaar diff --git a/hosts/niks/profile.nix b/hosts/niks/profile.nix index 07f5a11..5574194 100644 --- a/hosts/niks/profile.nix +++ b/hosts/niks/profile.nix @@ -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 diff --git a/hosts/niks/programs.nix b/hosts/niks/programs.nix index f4ea5a7..0746e71 100644 --- a/hosts/niks/programs.nix +++ b/hosts/niks/programs.nix @@ -150,8 +150,6 @@ in { python3 wev enigma - via - vial rustdesk superTuxKart solaar diff --git a/options/desktop/qmk.nix b/options/desktop/qmk.nix new file mode 100644 index 0000000..f0b61c2 --- /dev/null +++ b/options/desktop/qmk.nix @@ -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 ]; + }; +} From 663c9227e5e02ada5302862e63a772d224adf54c Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 24 May 2024 13:58:34 +0200 Subject: [PATCH 2/2] the manger --- hosts/del/firefox.nix | 2 +- hosts/niks/firefox.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/del/firefox.nix b/hosts/del/firefox.nix index 726020e..c34a53f 100644 --- a/hosts/del/firefox.nix +++ b/hosts/del/firefox.nix @@ -26,7 +26,7 @@ faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; aliases = [ "!nw" ]; }; - "Home Manger Option Search" = { + "Home Manager Option Search" = { url = "https://mipmip.github.io/home-manager-option-search?query={searchTerms}"; faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; aliases = [ "!hm" ]; diff --git a/hosts/niks/firefox.nix b/hosts/niks/firefox.nix index 726020e..c34a53f 100644 --- a/hosts/niks/firefox.nix +++ b/hosts/niks/firefox.nix @@ -26,7 +26,7 @@ faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; aliases = [ "!nw" ]; }; - "Home Manger Option Search" = { + "Home Manager Option Search" = { url = "https://mipmip.github.io/home-manager-option-search?query={searchTerms}"; faviconPath = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; aliases = [ "!hm" ];