feat(ssh): add ssh and iris public key
This commit is contained in:
parent
e73a23a047
commit
22a4b3b720
1 changed files with 10 additions and 5 deletions
|
@ -47,6 +47,13 @@
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
|
# Enable the OpenSSH daemon.
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### System ###
|
### System ###
|
||||||
##############################
|
##############################
|
||||||
|
@ -80,6 +87,9 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Mohammad Rafiq";
|
description = "Mohammad Rafiq";
|
||||||
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
||||||
|
openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICg/5h5yj+xIuE9ZF1Dnof0OptJNitiYc1JZlnrUtS7F mohammadrafiq567@gmail.com rafiq@iris"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
|
@ -120,11 +130,6 @@
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
|
||||||
services.openssh = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue