pointfichiers/hosts/OVHCloud/hardware-configuration.nix
2024-09-26 10:24:32 +02:00

18 lines
335 B
Nix

{modulesPath, ...}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./disko-config.nix
];
boot.loader.grub = {
efiSupport = true;
efiInstallAsRemovable = true;
};
# Firewall
networking.nftables.enable = true;
networking.firewall = {
enable = true;
allowedTCPPorts = [22 80 443];
};
}