skipper: remove rootless docker

This commit is contained in:
Adithya 2024-10-27 15:14:42 +05:30
parent 84a0d80085
commit c0a108859f
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -1,27 +1,10 @@
{ config, pkgs, ... }: { { pkgs, ... }: {
environment.systemPackages = [ pkgs.docker-credential-helpers ]; environment.systemPackages = [ pkgs.docker-credential-helpers ];
virtualisation = { virtualisation = {
docker = { docker = {
enable = true; enable = true;
package = pkgs.docker_26;
daemon.settings = { daemon.settings = {
data-root = "/persist/docker"; data-root = "/persist/docker";
dns = [
# Quad9, without DoT
"2620:fe::fe"
"9.9.9.9"
"2620:fe::9"
"149.112.112.112"
];
};
rootless = {
enable = true;
package = config.virtualisation.docker.package;
setSocketVariable = true;
daemon.settings = {
data-root = "/persist/home/docker";
dns = config.virtualisation.docker.daemon.settings.dns;
};
}; };
storageDriver = "btrfs"; storageDriver = "btrfs";
}; };