diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-28 15:45:21 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-28 15:45:21 +0100 |
commit | f3cb97394633f11ebcabc225459c9a5f1745efeb (patch) | |
tree | a1a33d11a55705968066419628684228cf00d998 /machines | |
parent | 4b607c1bfe3c217deaa79002160faee371bd72f8 (diff) | |
download | dots-f3cb97394633f11ebcabc225459c9a5f1745efeb.tar.gz dots-f3cb97394633f11ebcabc225459c9a5f1745efeb.zip |
Add doas module
Diffstat (limited to 'machines')
-rwxr-xr-x | machines/adax/configuration.nix | 9 | ||||
-rwxr-xr-x | machines/base.nix | 1 |
2 files changed, 1 insertions, 9 deletions
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 ]; |