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_yubikeys = ''gpg-connect-agent "scd serialno" "learn --force" "/bye"'';
|
||||
tree = "lsd --tree";
|
||||
# podman
|
||||
docker = "podman";
|
||||
docker-compose = "podman-compose";
|
||||
};
|
||||
history.path = "${config.xdg.configHome}/zsh/history";
|
||||
};
|
||||
|
|
|
@ -28,6 +28,5 @@
|
|||
pcscd.enable = true;
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
users.users."${config.dotfiles.username}".extraGroups = ["docker"];
|
||||
virtualisation.podman.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
# add the traefik user to the docker group for socket access
|
||||
users = {
|
||||
users.traefik.extraGroups = ["docker"];
|
||||
};
|
||||
|
||||
services = {
|
||||
traefik = {
|
||||
enable = true;
|
||||
|
@ -21,6 +16,7 @@
|
|||
https.address = ":443";
|
||||
};
|
||||
providers = {
|
||||
# TODO: adjust for podman
|
||||
docker = {
|
||||
endpoint = "unix:///var/run/docker.sock";
|
||||
exposedByDefault = false;
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
transmission.openFirewall = true;
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.podman.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; [
|
||||
cabextract
|
||||
|
|
Loading…
Reference in a new issue