skipper: remove rootless docker
This commit is contained in:
parent
84a0d80085
commit
c0a108859f
1 changed files with 1 additions and 18 deletions
|
@ -1,27 +1,10 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.docker-credential-helpers ];
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
package = pkgs.docker_26;
|
||||
daemon.settings = {
|
||||
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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue