This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/profiles/hw-hetzner-cax.nix

32 lines
847 B
Nix
Raw Normal View History

2024-05-10 16:50:09 -05:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ config
, lib
, pkgs
, ...
}: {
imports = [ ];
2024-05-10 20:39:49 -05:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-05-10 16:50:09 -05:00
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
mySystem.services = {
openssh.enable = true;
};
# Restic backups disabled.
mySystem.system.resticBackup =
{
local.enable = false;
remote.enable = false;
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
2024-05-10 20:39:49 -05:00
}