From 5203b9ad98db15e4747b7f6e26a90eddfd3eb66b Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Fri, 9 Sep 2022 14:25:39 +0100 Subject: [PATCH] nixos/tower: Enable doas fingerprint auth --- nixos/boxes/tower/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/boxes/tower/default.nix b/nixos/boxes/tower/default.nix index d3a4550..bbd9b62 100644 --- a/nixos/boxes/tower/default.nix +++ b/nixos/boxes/tower/default.nix @@ -66,6 +66,14 @@ }; }; + security = { + doas = { + # Fingerprint auth :) + wheelNeedsPassword = true; + extraRules = [ { groups = [ "wheel" ]; persist = true; } ]; + }; + }; + console.keyMap = "uk"; services = {