nixFlake/hosts/yivo/default.nix
2024-10-13 15:26:07 -07:00

34 lines
693 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 = "yivo";
# 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;
}