Update common.nix

ssh for root
This commit is contained in:
sagar 2026-02-13 15:53:42 -03:00
parent 1c8851d3cc
commit 2360f5b2d6

View file

@ -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;
}