yay -S mdatp-bin
sudo systemctl enable --now mdatp
sudo python3 ~/Downloads/MicrosoftDefenderATPOnboardingLinuxServer.py
sudo mdatp config passive-mode --value disabled
sudo mdatp log level set --level verbose
sudo mdatp config real-time-protection --value enabledFollow this on the machine in front of you. Omarchy installs the T2 kernel only on a T2 Mac. Check this machine before changing anything. Do not copy boot config, disk UUIDs, or camera serials from another computer. Ask before installing a kernel, editing the boot menu, or rebooting.
A MacBookAir9,1 on Omarchy 4.0.4 was already on kernel 7.2.7-arch1-Watanare-T2-2-t2 (linux-t2 7.2.7.arch1-2). No camera package was added. The open command was enough.
Record all of these:
/etc/nixos/configuration.nix
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> {
config = config.nixpkgs.config;
};
in
{
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| cp /tmp/mba91-trackpad-fix/local-overrides.quirks /etc/libinput/local-overrides.quirks | |
| cp /tmp/mba91-trackpad-fix/61-apple-t2-trackpad-internal.hwdb /etc/udev/hwdb.d/61-apple-t2-trackpad-internal.hwdb | |
| systemd-hwdb update | |
| udevadm trigger -s input | |
| echo "Installed. Re-login or restart Hyprland for libinput to fully re-open the device." |
# see if the footgun is back
cat /etc/modprobe.d/brcmfmac.conf
# if it sets feature_disable=0x82000, clear it:
sudo sed -i '/feature_disable/d' /etc/modprobe.d/brcmfmac.conf
# or empty/remove that file if that's all it contains
sudo modprobe -r brcmfmac brcmutil 2>/dev/null
sudo modprobe brcmfmacInstall guide for running a full Arch Linux XFCE desktop inside a WSL container, accessed via RDP from Windows.
Adapted from the Podman version of this guide.
One-liners to limit ZFS ARC (live + permanent) so it doesn’t eat most of your RAM next to KVM/libvirt guests. Defaults leave arc_max uncapped; 4–8 GB is a good desktop/VM ceiling.
Live:
# 8 GB ZFS ARC Cache
echo $((8 * 1024 * 1024 * 1024)) | sudo tee /sys/module/zfs/parameters/zfs_arc_max# 4 GB ZFS ARC Cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # --- 1. Disable MOTD News --- | |
| systemctl stop motd-news.timer motd-news.service | |
| systemctl disable motd-news.timer | |
| chmod -x /etc/update-motd.d/50-motd-news | |
| if [ -f /etc/default/motd-news ]; then | |
| sed -i 's/^ENABLED=1/ENABLED=0/' /etc/default/motd-news | |
| fi |
NewerOlder