mochi/nixos/profiles/hw-hetzner-cax.nix

32 lines
812 B
Nix
Raw Permalink Normal View History

2024-06-20 08:59:56 -05:00
{ lib, ... }: {
imports = [ ];
2024-07-30 18:47:59 -05:00
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 = [ ];
};
2024-06-20 08:59:56 -05:00
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";
2024-08-04 06:43:38 -05:00
# not supported
services.smartd.enable = false;
2024-06-20 08:59:56 -05:00
}