mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
chore: drop lxd
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
home.packages = [
|
||||
pkgs.juju
|
||||
pkgs.sshuttle
|
||||
pkgs.lxd-lts
|
||||
];
|
||||
|
||||
targets.genericLinux.enable = true;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
../common/optional/pipewire.nix
|
||||
../common/optional/quietboot.nix
|
||||
../common/optional/wireless.nix
|
||||
../common/optional/lxd.nix
|
||||
|
||||
../common/optional/starcitizen-fixes.nix
|
||||
];
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
{
|
||||
virtualisation.lxd = {
|
||||
enable = true;
|
||||
preseed = {
|
||||
networks = [
|
||||
{
|
||||
name = "lxdbr0";
|
||||
type = "bridge";
|
||||
config = {
|
||||
"ipv4.address" = "10.0.100.1/24";
|
||||
"ipv4.nat" = "true";
|
||||
};
|
||||
}
|
||||
];
|
||||
storage_pools = [
|
||||
{
|
||||
name = "default";
|
||||
driver = "dir";
|
||||
config.source = "/var/lib/lxd/storage-pools/default";
|
||||
}
|
||||
];
|
||||
profiles = [
|
||||
{
|
||||
name = "default";
|
||||
config = {
|
||||
"security.privileged" = "true";
|
||||
};
|
||||
devices = {
|
||||
eth0 = {
|
||||
name = "eth0";
|
||||
network = "lxdbr0";
|
||||
type = "nic";
|
||||
};
|
||||
root = {
|
||||
path = "/";
|
||||
pool = "default";
|
||||
type = "disk";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
# https://github.com/NixOS/nixpkgs/issues/263359
|
||||
networking.firewall.trustedInterfaces = ["lxdbr0"];
|
||||
}
|
||||
@@ -17,7 +17,6 @@ in {
|
||||
"git"
|
||||
"i2c"
|
||||
"libvirtd"
|
||||
"lxd"
|
||||
"minecraft"
|
||||
"mysql"
|
||||
"network"
|
||||
|
||||
Reference in New Issue
Block a user