about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xmachines/adax/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/machines/adax/configuration.nix b/machines/adax/configuration.nix
index 0533f2d..2b37d5b 100755
--- a/machines/adax/configuration.nix
+++ b/machines/adax/configuration.nix
@@ -14,9 +14,16 @@
   environment.systemPackages = with pkgs; [
   ];
 
+  security.sudo.enable = false;
+  security.doas = {
+    enable = true;
+    wheelNeedsPassword = false;
+  };
+
   # https://sgt.hootr.club/molten-matter/nix-distributed-builds/
   boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
   services.openssh.enable = true;
+  nix.trustedUsers = [ "bob" ];
   users.users.bob = {
     description = "Bob the Builder";
     isNormalUser = true;