Add inactive ssh config
This commit is contained in:
parent
edbd6133d8
commit
cf722f92de
10
nixos.nix
10
nixos.nix
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue