From f3cb97394633f11ebcabc225459c9a5f1745efeb Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 28 Jan 2021 15:45:21 +0100 Subject: Add doas module --- machines/adax/configuration.nix | 9 --------- machines/base.nix | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'machines') diff --git a/machines/adax/configuration.nix b/machines/adax/configuration.nix index 5372e8e..388fa60 100755 --- a/machines/adax/configuration.nix +++ b/machines/adax/configuration.nix @@ -14,15 +14,6 @@ environment.systemPackages = with pkgs; [ ]; - security.sudo.enable = false; - security.doas = { - enable = true; - wheelNeedsPassword = false; - }; - environment.shellAliases = { - sudo = "doas"; - }; - # https://sgt.hootr.club/molten-matter/nix-distributed-builds/ boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; services.openssh.enable = true; diff --git a/machines/base.nix b/machines/base.nix index 209a9ac..b706452 100755 --- a/machines/base.nix +++ b/machines/base.nix @@ -6,6 +6,7 @@ imports = [ ../modules/nur.nix ../users/pn.nix + ../modules/doas.nix ../modules/internet.nix ]; -- cgit 1.4.1