iso.nix/common.nix
2026-02-13 15:53:42 -03:00

13 lines
551 B
Nix

{ config, pkgs, ... }:
{
boot.supportedFilesystems = [ "ntfs" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
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;
}