about summary refs log tree commit diff
path: root/machines/adax
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-28 15:40:29 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-28 15:40:29 +0100
commit4b607c1bfe3c217deaa79002160faee371bd72f8 (patch)
treee85a03e3997fd97cf2fae7a464d4c0330d164d1c /machines/adax
parent7f5e699f872e1ae26170eb602d14257020366d30 (diff)
downloaddots-4b607c1bfe3c217deaa79002160faee371bd72f8.tar.gz
dots-4b607c1bfe3c217deaa79002160faee371bd72f8.zip
Alias sudo
Diffstat (limited to 'machines/adax')
-rwxr-xr-xmachines/adax/configuration.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/machines/adax/configuration.nix b/machines/adax/configuration.nix
index 2b37d5b..5372e8e 100755
--- a/machines/adax/configuration.nix
+++ b/machines/adax/configuration.nix
@@ -19,6 +19,9 @@
     enable = true;
     wheelNeedsPassword = false;
   };
+  environment.shellAliases = {
+    sudo = "doas";
+  };
 
   # https://sgt.hootr.club/molten-matter/nix-distributed-builds/
   boot.binfmt.emulatedSystems = [ "aarch64-linux" ];