From 2360f5b2d6e14d710cfca4cb90a15a7b9d024e49 Mon Sep 17 00:00:00 2001 From: sagar Date: Fri, 13 Feb 2026 15:53:42 -0300 Subject: [PATCH] Update common.nix ssh for root --- common.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 81f1882..b2a6fbf 100644 --- a/common.nix +++ b/common.nix @@ -2,6 +2,12 @@ { boot.supportedFilesystems = [ "ntfs" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; - isoImage.squashfsCompression = "gzip -Xcompression-level 1"; + isoImage.squashfsCompression = "zstd"; environment.systemPackages = with pkgs; [ git htop btop usbutils pciutils file iotop iftop tmux micro (pass.withExtensions (ext: [ext.pass-otp])) ]; + + services.openssh.enable = true; + services.openssh.settings.PermitRootLogin = "yes"; + services.openssh.settings.PasswordAuthentication = true; + users.users.root.initialPassword = "root"; + programs.mosh.enable = true; }