From 40790797e111cec5ff682806998d50c38ed7bca9 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 11 Aug 2023 16:51:35 +0200 Subject: cleanup modules --- modules/vultr/default.nix | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) (limited to 'modules/vultr') diff --git a/modules/vultr/default.nix b/modules/vultr/default.nix index 765c03d..3104e0f 100644 --- a/modules/vultr/default.nix +++ b/modules/vultr/default.nix @@ -1,17 +1,10 @@ { config, lib, pkgs, modulesPath, ... }: { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - users.users."root".initialHashedPassword = "$6$R6JH.y368Bn6V$q710R4zQDK8vH7.L8JRAmFZwQW2H.3A00DPtKXFJb0nem87JlgYmD6UJbJ4vhP.f9UmvmqAgur8qMWEsBsErI/"; - users.users."root".hashedPassword = config.users.users."root".initialHashedPassword; - - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = + [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; boot.loader.grub.devices = [ "/dev/vda" ]; @@ -22,24 +15,4 @@ fsType = "ext4"; }; }; - - # kubernetes = { - # role = "agent"; - # taints = { - # role = "ns:NoSchedule"; - # }; - # }; - - networking = { - domain = "ns.vapor.systems"; - usePredictableInterfaceNames = false; - enableIPv6 = true; - tempAddresses = "disabled"; - interfaces.eth0.useDHCP = true; - nameservers = [ "1.1.1.1" "8.8.8.8" ]; - - dhcpcd.extraConfig = '' - nohook resolv.conf - ''; - }; } -- cgit v1.2.3