2023-09-20 11:52:00 +02:00
|
|
|
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
2023-09-20 13:26:12 +02:00
|
|
|
imports = [
|
2023-10-04 15:15:49 +02:00
|
|
|
# This machine won't be using secureboot
|
|
|
|
../../common/modules/boot.nix
|
2023-09-20 13:26:12 +02:00
|
|
|
./disks.nix
|
|
|
|
];
|
2023-09-20 11:52:00 +02:00
|
|
|
nixpkgs.config.allowUnfree = false;
|
2023-10-04 15:26:57 +02:00
|
|
|
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
2023-09-20 11:52:00 +02:00
|
|
|
|
2023-09-20 12:40:48 +02:00
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
|
2023-09-20 11:52:00 +02:00
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ ];
|
|
|
|
boot.extraModulePackages = [ ];
|
2023-09-20 13:33:35 +02:00
|
|
|
virtualisation.hypervGuest.enable = true;
|
2023-09-20 11:52:00 +02:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
time.timeZone = "Asia/Tokyo";
|
2023-10-04 12:51:02 +02:00
|
|
|
networking.hostName = "osaka-vultr-01";
|
2023-09-20 11:52:00 +02:00
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
2023-09-20 13:54:06 +02:00
|
|
|
}
|