feat(pkgs): docker
-> podman
This commit is contained in:
parent
087f8c3fd6
commit
f7468fde59
4 changed files with 7 additions and 9 deletions
|
@ -150,6 +150,9 @@ in {
|
||||||
# switch between yubikeys for the same GPG key
|
# switch between yubikeys for the same GPG key
|
||||||
switch_yubikeys = ''gpg-connect-agent "scd serialno" "learn --force" "/bye"'';
|
switch_yubikeys = ''gpg-connect-agent "scd serialno" "learn --force" "/bye"'';
|
||||||
tree = "lsd --tree";
|
tree = "lsd --tree";
|
||||||
|
# podman
|
||||||
|
docker = "podman";
|
||||||
|
docker-compose = "podman-compose";
|
||||||
};
|
};
|
||||||
history.path = "${config.xdg.configHome}/zsh/history";
|
history.path = "${config.xdg.configHome}/zsh/history";
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,5 @@
|
||||||
pcscd.enable = true;
|
pcscd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
users.users."${config.dotfiles.username}".extraGroups = ["docker"];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{
|
||||||
# add the traefik user to the docker group for socket access
|
|
||||||
users = {
|
|
||||||
users.traefik.extraGroups = ["docker"];
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
traefik = {
|
traefik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -21,6 +16,7 @@
|
||||||
https.address = ":443";
|
https.address = ":443";
|
||||||
};
|
};
|
||||||
providers = {
|
providers = {
|
||||||
|
# TODO: adjust for podman
|
||||||
docker = {
|
docker = {
|
||||||
endpoint = "unix:///var/run/docker.sock";
|
endpoint = "unix:///var/run/docker.sock";
|
||||||
exposedByDefault = false;
|
exposedByDefault = false;
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
transmission.openFirewall = true;
|
transmission.openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.podman.enable = true;
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
|
|
||||||
users.users."${config.dotfiles.username}".extraGroups = ["docker" "libvirtd" "transmission"];
|
users.users."${config.dotfiles.username}".extraGroups = ["libvirtd" "transmission"];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cabextract
|
cabextract
|
||||||
|
|
Loading…
Reference in a new issue