Migrate redis to LXC
This commit is contained in:
parent
6ddb56f722
commit
fcd44586c1
1 changed files with 1 additions and 13 deletions
14
flake.nix
14
flake.nix
|
@ -39,7 +39,6 @@
|
|||
microvm = {
|
||||
autostart = [
|
||||
"nginx"
|
||||
"redis"
|
||||
"grafana"
|
||||
"authentik"
|
||||
];
|
||||
|
@ -48,10 +47,6 @@
|
|||
flake = self;
|
||||
updateFlake = "git+file:///etc/nixos";
|
||||
};
|
||||
redis = {
|
||||
flake = self;
|
||||
updateFlake = "git+file:///etc/nixos";
|
||||
};
|
||||
grafana = {
|
||||
flake = self;
|
||||
updateFlake = "git+file:///etc/nixos";
|
||||
|
@ -146,19 +141,12 @@
|
|||
redis = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
microvm.nixosModules.microvm
|
||||
"${inputs.self}/systems"
|
||||
"${inputs.self}/services"
|
||||
{
|
||||
networking.hostName = "redis";
|
||||
services.vm_redis = {
|
||||
enable = true;
|
||||
};
|
||||
services.vm = {
|
||||
enable = true;
|
||||
hostname = "redis";
|
||||
vm_ip = "192.168.1.16";
|
||||
macAddr = "02:00:00:00:00:16";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue