From 236ac123ad776de96c81291b2ace369bfa862b10 Mon Sep 17 00:00:00 2001 From: tamiNix Date: Wed, 17 May 2023 13:31:17 +0300 Subject: [PATCH] added vscode, tailscale, bmon, (udev?) --- hosts/tami-mac/hardware.nix | 7 +++++++ hosts/tami-mac/networking.nix | 1 + hosts/tami-mac/packages.nix | 2 ++ 3 files changed, 10 insertions(+) diff --git a/hosts/tami-mac/hardware.nix b/hosts/tami-mac/hardware.nix index 2293789..8c08256 100644 --- a/hosts/tami-mac/hardware.nix +++ b/hosts/tami-mac/hardware.nix @@ -55,4 +55,11 @@ in }; zramSwap.enable = true; + + #attamept at adding serial ports permissions udev + services.udev.extraRules = '' + SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666" + KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1" + ''; + } diff --git a/hosts/tami-mac/networking.nix b/hosts/tami-mac/networking.nix index c1af74b..d98a946 100644 --- a/hosts/tami-mac/networking.nix +++ b/hosts/tami-mac/networking.nix @@ -5,4 +5,5 @@ }; time.timeZone = "Asia/Jerusalem"; + services.tailscale.enable = true; } diff --git a/hosts/tami-mac/packages.nix b/hosts/tami-mac/packages.nix index 2064285..11aafef 100644 --- a/hosts/tami-mac/packages.nix +++ b/hosts/tami-mac/packages.nix @@ -4,5 +4,7 @@ environment.systemPackages = with pkgs; [ wget tree + bmon + vscode-fhs ]; }