From 0a8c6eb54e771602ea1b394cae5220fa392ead88 Mon Sep 17 00:00:00 2001 From: stitchy Date: Fri, 19 Apr 2024 21:09:00 +0000 Subject: [PATCH] tweaks for arduino plus bat --- hosts/lappy/default.nix | 2 +- users/stitchynyan/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/lappy/default.nix b/hosts/lappy/default.nix index 123528c..1a30eab 100644 --- a/hosts/lappy/default.nix +++ b/hosts/lappy/default.nix @@ -70,7 +70,7 @@ PCIE_ASPM_ON_AC = "default"; PCIE_ASPM_ON_BAT = "powersupersave"; PLATFORM_PROFILE_ON_BAT = "low-power"; - RUNTIME_PM_ON_BAT = true; + RUNTIME_PM_ON_BAT = "auto"; WOL_DISABLE = true; SCHED_POWERSAVE_ON_BAT = true; diff --git a/users/stitchynyan/default.nix b/users/stitchynyan/default.nix index b5a819c..f85557b 100644 --- a/users/stitchynyan/default.nix +++ b/users/stitchynyan/default.nix @@ -25,7 +25,7 @@ services = { avahi = { - enable = true; + enable = config.stitchyconf.form == "pc"; nssmdns4 = true; openFirewall = true; }; @@ -48,7 +48,7 @@ shell = pkgs.zsh; home = "/home/stitchynyan"; description = "Personal user"; - extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" ]; + extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" "dialout" ]; initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3"; }; }