Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

add(nixos configurations): led strip driver and pplib services #67

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions coprocessors/configure-linux-router.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ip link set $IFACE down
# Set the IP address and routable subnet of the interface
echo "Setting IP address and subnet..."
ip addr add 10.36.36.1/24 dev $IFACE
ip addr add 10.36.36.2/24 dev $IFACE

# Enable IP forwarding
echo "Enabling IP forwarding..."
Expand Down
98 changes: 58 additions & 40 deletions coprocessors/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions coprocessors/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Coprocessor NixOS configurations for 3636's 2024 FRC robot.";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-rk3588 = {
url = "github:ryan4yin/nixos-rk3588";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -70,7 +70,8 @@
};

overlays.default = self: super: {
photonvision = self.callPackage ./pkgs/photonvision.nix { };
photonvision = self.callPackage ./pkgs/photonvision { };
pplib-coprocessor = self.callPackage ./pkgs/pplib-coprocessor { };
rgb-2024 = rgb-2024.packages.${self.system}.default;
};

Expand Down
Loading
Loading