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