nix/nixos/hosts/osaka-vultr-01/default.nix
2023-10-05 15:02:09 +09:00

20 lines
No EOL
666 B
Nix

{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
imports = [
./disks.nix
];
nixpkgs.config.allowUnfree = false;
# boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
virtualisation.hypervGuest.enable = true;
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
time.timeZone = "Asia/Tokyo";
networking.hostName = "osaka-vultr-01";
networking.firewall.allowedTCPPorts = [ 22 ];
}