mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-12 15:42:39 +02:00
chore: docker for ruby/kana
This commit is contained in:
@@ -18,6 +18,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../idols-ruby/packages.nix
|
../idols-ruby/packages.nix
|
||||||
|
../idols-ruby/oci-containers
|
||||||
];
|
];
|
||||||
|
|
||||||
# supported file systems, so we can mount any removable disks with these filesystems
|
# supported file systems, so we can mount any removable disks with these filesystems
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
./oci-containers
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable binfmt emulation of aarch64-linux, this is required for cross compilation.
|
# Enable binfmt emulation of aarch64-linux, this is required for cross compilation.
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
mylib,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
imports = mylib.scanPaths ./.;
|
||||||
|
|
||||||
|
# environment.systemPackages = with pkgs; [
|
||||||
|
# podman-compose
|
||||||
|
# ];
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
docker.enable = true;
|
||||||
|
# podman = {
|
||||||
|
# enable = true;
|
||||||
|
# # Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||||
|
# dockerCompat = true;
|
||||||
|
# # Required for containers under podman-compose to be able to talk to each other.
|
||||||
|
# defaultNetwork.settings.dns_enabled = true;
|
||||||
|
# # Periodically prune Podman resources
|
||||||
|
# autoPrune = {
|
||||||
|
# enable = true;
|
||||||
|
# dates = "weekly";
|
||||||
|
# flags = [ "--all" ];
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
oci-containers = {
|
||||||
|
backend = "docker";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user