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 = {
enable = true;
};
services.ct = {
services.lxc = {
enable = true;
};
}
@ -81,7 +81,7 @@
services.vm_forgejo = {
enable = true;
};
services.ct = {
services.lxc = {
enable = true;
};
}
@ -120,7 +120,7 @@
services.vm_redis = {
enable = true;
};
services.ct = {
services.lxc = {
enable = true;
};
}
@ -139,7 +139,7 @@
proxy_ip = proxy_host;
pgsql_ip = pgsql_host;
};
services.ct = {
services.lxc = {
enable = true;
};
}

View file

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