Add adb udev rules, groups, edit flymake config

This commit is contained in:
2025-06-09 16:07:24 -04:00
parent 279e97d215
commit eeb7ab6f83
3 changed files with 33 additions and 4 deletions

View File

@@ -68,6 +68,14 @@
default = "SearX";
order = ["SearX" "google"];
engines = {
"MELPA" = {
urls = [
{
template = "https://melpa.org/#/?q={searchTerms}";
}
];
definedAliases = ["@m"];
};
"Nix Packages" = {
urls = [
{

View File

@@ -14,6 +14,7 @@
;; automatically create missing directories
;; source: https://emacsredux.com/blog/2022/06/12/auto-create-missing-directories/
(defun er-auto-create-missing-dirs ()
"Create missing parent directories automatically when opening a file."
(let ((target-dir (file-name-directory buffer-file-name)))
(unless (file-exists-p target-dir)
(make-directory target-dir t))))
@@ -528,11 +529,19 @@
(use-package flyspell
:defer t
:hook
(markdown-mode . flyspell-mode)
(org-mode . flyspell-mode)
:diminish flyspell-mode)
;; enlighten flymake to the load path
(setq elisp-flymake-byte-compile-load-path load-path)
;; flymake config
(use-package flymake
:straight nil
:defer t
:init
(setq elisp-flymake-byte-compile-load-path load-path)
:bind (:map global-map
("M-n" . flymake-goto-next-error)
("M-p" . flymake-goto-prev-error)))
;; windows printer
(setq ps-printer-name t)

View File

@@ -81,7 +81,16 @@
users.users.chase = {
isNormalUser = true;
description = "Chase";
extraGroups = ["networkmanager" "tss" "wheel"];
extraGroups = [
# "adbusers"
"audio"
"cdrom"
"dialout"
"networkmanager"
"tss"
"video"
"wheel"
];
};
# Install git and enable cache
@@ -178,7 +187,10 @@
services.pcscd.enable = true;
services.udev.packages = [pkgs.yubikey-personalization];
services.udev.packages = with pkgs; [
android-udev-rules
yubikey-personalization
];
services.yubikey-agent.enable = true;