2024-06-20 08:59:56 -05:00
|
|
|
{ lib, ... }: {
|
|
|
|
imports = [ ];
|
|
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
mySystem = {
|
|
|
|
services.openssh.enable = true;
|
|
|
|
security.wheelNeedsSudoPassword = false;
|
|
|
|
|
|
|
|
# Restic backups disabled.
|
|
|
|
# TODO: configure storagebox for hetzner backups
|
2024-07-13 02:47:38 -05:00
|
|
|
system.resticBackup = {
|
2024-06-20 08:59:56 -05:00
|
|
|
local.enable = false;
|
2024-07-29 13:35:06 -05:00
|
|
|
local.noWarning = true;
|
2024-06-20 08:59:56 -05:00
|
|
|
remote.enable = false;
|
2024-07-29 13:35:06 -05:00
|
|
|
remote.noWarning = true;
|
2024-06-20 08:59:56 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
|
|
|
}
|