blob: 765c03d4459d08645fe8311c78df50efc272efa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ config, lib, pkgs, modulesPath, ... }:
{
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.loader.grub.devices = [ "/dev/vda" ];
fileSystems = {
"/" = {
device = "/dev/vda1";
autoResize = true;
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
'';
};
}
|