chore: reconfig podman

This commit is contained in:
Thiago Sposito 2025-10-17 17:21:29 -03:00
parent e9a77fccb7
commit 634d7eb2e8
Signed by: thiago
GPG key ID: 3065EA73A976D430
3 changed files with 17 additions and 12 deletions

View file

@ -60,7 +60,7 @@
zed-editor zed-editor
]; ];
sessionVariables = { sessionVariables = {
XDG_RUNTIME_DIR = "/run/user/${toString config.home.uid}";
DBUS_SESSION_BUS_ADDRESS = "unix:path=${config.home.homeDirectory}/.dbus-session-bus"; DBUS_SESSION_BUS_ADDRESS = "unix:path=${config.home.homeDirectory}/.dbus-session-bus";
}; };
username = "thiago"; username = "thiago";

View file

@ -46,6 +46,7 @@
pcsclite pcsclite
pcsctools pcsctools
pkcs11helper pkcs11helper
podman-compose
rclone rclone
sops sops
wget wget

View file

@ -38,18 +38,22 @@
# openssh.settings.X11Forwarding = true; # openssh.settings.X11Forwarding = true;
}; };
virtualisation.docker = { virtualisation ={
enable = true; docker = {
logDriver = "journald"; enable = true;
package = pkgs.docker_25; logDriver = "journald";
storageDriver = "btrfs"; package = pkgs.docker_25;
daemon.settings = { storageDriver = "btrfs";
hosts = [ "unix:///var/run/docker.sock" ]; daemon.settings = {
features.cdi = true; hosts = [ "unix:///var/run/docker.sock" ];
userland-proxy = false; features.cdi = true;
experimental = true; userland-proxy = false;
metrics-addr = "0.0.0.0:9323"; experimental = true;
metrics-addr = "0.0.0.0:9323";
};
}; };
podman.enable = true;
}; };
virtualisation.waydroid.enable = true; virtualisation.waydroid.enable = true;