satori: enable docker

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-23 18:25:48 +05:30
parent 8e3a3aca2b
commit bfe8ae35b8
4 changed files with 15 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
tor.enable = true;
openssh = {
enable = true;
settings.permitRootLogin = "yes";
settings.PermitRootLogin = "yes";
};
ratbagd.enable = true;
btrfs.autoScrub.enable = true;
@@ -28,10 +28,17 @@
};
security.pki.certificateFiles = [ ../../cert.pem ];
virtualisation.libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu.runAsRoot = true;
virtualisation = {
docker = {
enable = true;
enableNvidia = true;
autoPrune.enable = true;
};
libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu.runAsRoot = true;
};
};
}