diff --git a/configuration.nix b/configuration.nix index ee25c38..b28b711 100644 --- a/configuration.nix +++ b/configuration.nix @@ -45,6 +45,16 @@ rsync ]; + zramSwap = { + enable = true; + memoryPercent = 50; + }; + + services.openssh.hostKeys = [{ + path = "/etc/ssh/ssh_host_ed25519_key"; + type = "ed25519"; + }]; + users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE40ISu3ydCqfdpb26JYD5cIN0Fu0id/FDS+xjB5zpqu jetthomaspham@gmail.com" ];