use docker on sgx-nixos

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-01-18 16:03:51 +01:00
parent e181ef3e75
commit 227144bceb
6 changed files with 13 additions and 9 deletions

View file

@ -69,17 +69,19 @@ with lib.plusultra;
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDsb/Tr69YN5MQLweWPuJaRGm+h2kOyxfD6sqKEDTIwoAAAABHNzaDo= harald@fedora.fritz.box"
];
virtualisation = {
podman = {
enable = true;
virtualisation.docker.enable = true;
# virtualisation = {
# podman = {
# enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# dockerCompat = true;
# For Nixos version > 22.11
defaultNetwork.settings = { dns_enabled = true; };
};
};
# defaultNetwork.settings = { dns_enabled = true; };
# };
# };
system.autoUpgrade = {
enable = true;