From 6ed515aa7720596eda68091b30cb11b778f67e6b Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 17 Nov 2023 18:44:30 +0100 Subject: [PATCH] moved udev package for platformio to extra --- configuration.nix | 3 +-- extra/platformio.nix | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 0a1ad1e..85afcff 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,6 +22,7 @@ in ./extra/dvd.nix ./extra/bluray.nix ./extra/platformio.nix + ./extra/yubikey.nix ]; hardware.bluetooth.enable = true; @@ -236,8 +237,6 @@ in # Enable the OpenSSH daemon. # services.openssh.enable = true; - services.udev.packages = [ pkgs.platformio ]; - # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; diff --git a/extra/platformio.nix b/extra/platformio.nix index 10d773d..8e85c86 100644 --- a/extra/platformio.nix +++ b/extra/platformio.nix @@ -1,4 +1,7 @@ { pkgs, config, ... }: { + + services.udev.packages = [ pkgs.platformio ]; + # embedded board development environment.systemPackages = with pkgs; [ platformio-core # toolchain manager for various microcontrollers