22 lines
574 B
Nix
22 lines
574 B
Nix
{ lib, ... }: {
|
|
imports = [ ];
|
|
|
|
boot = {
|
|
loader.systemd-boot.enable = true;
|
|
loader.efi.canTouchEfiVariables = true;
|
|
initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod" ];
|
|
initrd.kernelModules = [ ];
|
|
kernelModules = [ ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
mySystem = {
|
|
services.openssh.enable = true;
|
|
security.wheelNeedsSudoPassword = false;
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
# not supported
|
|
services.smartd.enable = false;
|
|
}
|