From 94602bc06be5e05174a8912f64a9fcd463d9ebb9 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Tue, 25 Feb 2025 17:29:04 -0800 Subject: [PATCH] grifin --- extras/dev.nix | 2 +- systems/NOlaptop.nix | 3 ++- users/tao/HOME.nix | 8 ++++++-- users/tao/helix.nix | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/extras/dev.nix b/extras/dev.nix index 2ca3d3b..e547f19 100644 --- a/extras/dev.nix +++ b/extras/dev.nix @@ -79,7 +79,7 @@ # delve # rust - rustlings + cargo-binstall bacon cargo-expand cargo-feature diff --git a/systems/NOlaptop.nix b/systems/NOlaptop.nix index 08dbd72..2e62a4a 100644 --- a/systems/NOlaptop.nix +++ b/systems/NOlaptop.nix @@ -58,7 +58,8 @@ # ACTION=="add", SUBSYSTEM=="backlight", RUN+="${pkgs.coreutils}/bin/chgrp video /sys/class/backlight/%k/brightness" # ACTION=="add", SUBSYSTEM=="backlight", RUN+="${pkgs.coreutils}/bin/chmod g+w /sys/class/backlight/%k/brightness" - ACTION=="add|change", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", ATTR{power/wakeup}="disabled" + # ACTION=="add|change", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", ATTR{power/wakeup}="disabled" + # ACTION=="add|change", KERNEL=="i2c", SUBSYSTEM=="i2c", DEVPATH=="/sys/devices/platform/AMDI0010:03/i2c-1/i2c-PIXA3854:00", ATTR{power/wakeup}="disabled" ''; services.fprintd.enable = true; diff --git a/users/tao/HOME.nix b/users/tao/HOME.nix index 9622b84..7c033a7 100644 --- a/users/tao/HOME.nix +++ b/users/tao/HOME.nix @@ -109,6 +109,10 @@ in { userEmail = "29749622+taotien@users.noreply.github.com"; # extraConfig = { # }; + ignores = [ + "/target" + ".direnv" + ]; }; nushell = { @@ -130,8 +134,8 @@ in { forwardAgent = true; identityFile = "/home/tao/.ssh/id_ed25519"; }; - "beagle" = { - hostname = "beagle"; + "griffin" = { + hostname = "griffin"; user = "tltien"; forwardAgent = true; identityFile = "/home/tao/.ssh/id_ed25519"; diff --git a/users/tao/helix.nix b/users/tao/helix.nix index b47e1b3..f75b0fa 100644 --- a/users/tao/helix.nix +++ b/users/tao/helix.nix @@ -12,8 +12,8 @@ cursor-line = "warning"; }; auto-save = { - focus-lost = true; - after-delay.enable = true; + focus-lost = false; + after-delay.enable = false; after-delay.timeout = 1000; }; shell = ["nu" "--stdin" "-c"];