From 5b2ce5d1f0fc868097e0bc9718c1b2b3b1964722 Mon Sep 17 00:00:00 2001 From: Mat Jones Date: Wed, 17 Jul 2024 21:08:01 -0400 Subject: [PATCH] fix(nixos): Add user to dialout group for Arduino connectivity --- home-manager/home.nix | 2 +- nixos-modules/common.nix | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index ac33e35f..13db14dc 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -56,7 +56,7 @@ in { signal-desktop qbittorrent vlc - cura + # cura r2modman ]; file."${config.home.homeDirectory}/.xprofile".text = '' diff --git a/nixos-modules/common.nix b/nixos-modules/common.nix index 1927bc60..3df0a076 100644 --- a/nixos-modules/common.nix +++ b/nixos-modules/common.nix @@ -90,7 +90,13 @@ hashedPassword = "$y$j9T$L.RrmE3CRSB.lQayiw2ZN/$vA4XkSR13yL016t3HaZ11uCN/sCmXqBcuUcSBxMjiPD"; home = "/home/mat"; - extraGroups = [ "wheel" "networkmanager" "oci" "podman" ]; + extraGroups = [ + "wheel" + "networkmanager" + "oci" + "podman" + "dialout" # to connect to arduino + ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDsT6GLG7sY8YKX7JM+jqS3EAti3YMzwHKWViveqkZvu" ];