Add inactive ssh config

This commit is contained in:
Emi Simpson 2023-01-15 17:07:03 -05:00
parent edbd6133d8
commit cf722f92de
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -99,6 +99,11 @@ let systemInformation = import ./system/system-information.nix; in
description = "Ember"; description = "Ember";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEPQznVJkYBHszbKnPGCg/GIEChYm1Y7D5TJ/aYKf76c plantain"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDkyzzlbs66O1nO5qef8TUvZqaIQMxXcbxQQpprepDuX kudzu"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL0Ff9mxroMzT4qTybWa3/4LKzm8DPl1hF8xjjYf5i7e redwood"
];
}; };
home-manager.users.ember = import ./configs/home.full.nix; home-manager.users.ember = import ./configs/home.full.nix;
@ -153,6 +158,11 @@ let systemInformation = import ./system/system-information.nix; in
}; };
overrideDevices = true; overrideDevices = true;
}; };
openssh = {
# Disable by default
banner = "Welcome to ${systemInformation.hostname}!\n";
passwordAuthentication = false;
};
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.