Worked around issue with failing DO image builds

This commit is contained in:
Alejandro Angulo 2024-05-27 08:29:51 -07:00
parent ab5a05bd86
commit 0354c66afb
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 8 additions and 2 deletions

View file

@ -98,8 +98,6 @@
"carbon"
];
in {
inherit (inputs.self);
# Only have a builder for x86_64-linux atm
packages = inputs.self.packages.x86_64-linux;
@ -107,6 +105,8 @@
name:
inputs.self.nixosConfigurations."${name}".config.system.build.toplevel
);
droplets.proxy = inputs.self.doConfigurations.proxy;
};
};
}

View file

@ -1,6 +1,7 @@
{
config,
pkgs,
lib,
...
}: {
aa = {
@ -29,6 +30,11 @@
tools.zsh.enable = true;
};
# Workaround for broken digital ocean image builds
# See: https://github.com/NixOS/nixpkgs/issues/308404
boot.loader.grub.devices = lib.mkForce ["/dev/vda"];
boot.loader.grub.device = "/dev/vda";
services.nginx = {
enable = true;
appendHttpConfig = ''