nixFlake/hosts/morbo/default.nix
2025-02-08 17:59:25 -08:00

36 lines
744 B
Nix

{
config,
lib,
pkgs,
inputs,
outputs,
home-manager,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../common/nixos/common.nix
../../common/networking/zerotier.nix
../../common/nixos/docker.nix
];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
networking.hostName = "morbo";
# Enable networking
networking.networkmanager.enable = true;
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.earlyoom.enable = true;
# Latest stable kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.enableRedistributableFirmware = true;
}