Replace ct by lxc on config files
Some checks failed
/ Build Nix targets (push) Failing after 1m14s

This commit is contained in:
Théo Barnouin 2024-11-28 09:47:45 +01:00
parent f161491a9c
commit 8e7f63af3e
2 changed files with 6 additions and 6 deletions

View file

@ -64,7 +64,7 @@
services.vm_nginx = { services.vm_nginx = {
enable = true; enable = true;
}; };
services.ct = { services.lxc = {
enable = true; enable = true;
}; };
} }
@ -81,7 +81,7 @@
services.vm_forgejo = { services.vm_forgejo = {
enable = true; enable = true;
}; };
services.ct = { services.lxc = {
enable = true; enable = true;
}; };
} }
@ -120,7 +120,7 @@
services.vm_redis = { services.vm_redis = {
enable = true; enable = true;
}; };
services.ct = { services.lxc = {
enable = true; enable = true;
}; };
} }
@ -139,7 +139,7 @@
proxy_ip = proxy_host; proxy_ip = proxy_host;
pgsql_ip = pgsql_host; pgsql_ip = pgsql_host;
}; };
services.ct = { services.lxc = {
enable = true; enable = true;
}; };
} }

View file

@ -1,9 +1,9 @@
{lib, config, modulesPath, ...}: {lib, config, modulesPath, ...}:
let let
cfg = config.services.ct; cfg = config.services.lxc;
in in
{ {
options.services.ct = { options.services.lxc = {
enable = lib.mkEnableOption "Enable LXC container config"; enable = lib.mkEnableOption "Enable LXC container config";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {