aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-11-16 19:00:15 +0100
committerAlex Auvolat <alex@adnab.me>2021-11-16 19:00:15 +0100
commit2fc4b9c0a562038217c9e9b562644722601f04bf (patch)
tree4951556712f833e7003d2a3ed147ad4f7e66b44e /configuration.nix
parent77db1c714ced3b5cfa0a0852cc25d8bc7b1e6738 (diff)
downloadnixcfg-2fc4b9c0a562038217c9e9b562644722601f04bf.tar.gz
nixcfg-2fc4b9c0a562038217c9e9b562644722601f04bf.zip
Custom ssh config, passwordless sudo
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix9
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