First try at docker VM
This commit is contained in:
parent
cd08dd9819
commit
713b3cc7d9
1 changed files with 17 additions and 0 deletions
17
flake.nix
17
flake.nix
|
@ -119,6 +119,23 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
docker = nixpkgs.lib.nixosSystem {
|
||||||
|
inherit system;
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
modules = [
|
||||||
|
agenix.nixosModules.default
|
||||||
|
crowdsec.nixosModules.crowdsec-firewall-bouncer
|
||||||
|
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-image.nix"
|
||||||
|
"${inputs.self}/systems/minimalVMConfig.nix"
|
||||||
|
"${inputs.self}/services"
|
||||||
|
"${inputs.self}/modules"
|
||||||
|
{
|
||||||
|
services.vm_docker = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
redis = nixpkgs.lib.nixosSystem {
|
redis = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue