diff options
author | Alex Auvolat <alex@adnab.me> | 2021-11-16 19:00:15 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-11-16 19:00:15 +0100 |
commit | 2fc4b9c0a562038217c9e9b562644722601f04bf (patch) | |
tree | 4951556712f833e7003d2a3ed147ad4f7e66b44e /configuration.nix | |
parent | 77db1c714ced3b5cfa0a0852cc25d8bc7b1e6738 (diff) | |
download | nixcfg-2fc4b9c0a562038217c9e9b562644722601f04bf.tar.gz nixcfg-2fc4b9c0a562038217c9e9b562644722601f04bf.zip |
Custom ssh config, passwordless sudo
Diffstat (limited to 'configuration.nix')
-rw-r--r-- | configuration.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/configuration.nix b/configuration.nix index 88fae6e..608a08f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -187,9 +187,12 @@ in ]; }; - users.extraUsers.root.openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJpaBZdYxHqMxhv2RExAOa7nkKhPBOHupMP3mYaZ73w9 lx@lindy" - ]; + # Passwordless sudo + security.sudo.wheelNeedsPassword = false; + + # users.extraUsers.root.openssh.authorizedKeys.keys = [ + # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJpaBZdYxHqMxhv2RExAOa7nkKhPBOHupMP3mYaZ73w9 lx@lindy" + # ]; # List packages installed in system profile. To search, run: # $ nix search wget |