wow
Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled

This commit is contained in:
암냥 2026-07-03 00:45:07 +09:00
commit bbac123a8d
144 changed files with 7059 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
let
sudoLocal = pkgs.writeText "sudo_local" ''
# Managed by nix-darwin: use Touch ID for sudo with password fallback.
auth sufficient pam_tid.so
'';
in
{
system.activationScripts.postActivation.text = ''
/usr/bin/install -m 0444 "${sudoLocal}" /etc/pam.d/sudo_local
'';
}