1
Fork 0

Moved mosh to root

This commit is contained in:
Matei Adriel 2023-07-19 00:36:58 +03:00
parent dbdf0bb77b
commit 90b66e147b
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions
hosts/nixos/common/global

View file

@ -1,4 +1,5 @@
# This setups a SSH server.
# TODO: persistence
{ outputs, config, lib, ... }:
let
# Record containing all the hosts
@ -40,6 +41,9 @@ in
# Passwordless sudo when SSH'ing with keys
security.pam.enableSSHAgentAuth = true;
# SSH on slow connections
programs.mosh.enable = true;
# Add each host in this repo to the knownHosts list
programs.ssh = {
knownHosts = lib.pipe hosts [