Replace sudo with doas
diff --git a/modules/doas.nix b/modules/doas.nix
new file mode 100644
index 0000000..ab4303e
--- /dev/null
+++ b/modules/doas.nix
@@ -0,0 +1,11 @@
+{ config, ... }: {
+  security = {
+    doas = {
+      enable = true;
+      wheelNeedsPassword = false;
+    };
+    sudo.enable = false;
+  };
+
+  environment.shellAliases.sudo = "${config.security.wrapperDir}/${config.security.wrappers.doas.program}";
+}