aboutsummaryrefslogtreecommitdiff
path: root/modules/vultr
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-08-11 16:51:35 +0200
committerMax Audron <audron@cocaine.farm>2023-08-11 16:51:35 +0200
commit40790797e111cec5ff682806998d50c38ed7bca9 (patch)
tree6db95b93f0797a62637845ea4bda5a3eedbc9306 /modules/vultr
parentmove nixinate to own flake (diff)
cleanup modules
Diffstat (limited to 'modules/vultr')
-rw-r--r--modules/vultr/default.nix33
1 files changed, 3 insertions, 30 deletions
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
- '';
- };
}