21 lines
397 B
Nix
21 lines
397 B
Nix
{ lib, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/virtualisation/digital-ocean-config.nix")
|
|
];
|
|
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
efiSupport = false;
|
|
devices = lib.mkForce [ "/dev/vda" ];
|
|
};
|
|
|
|
fileSystems."/" = {
|
|
device = lib.mkDefault "/dev/disk/by-label/nixos";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
}
|