chore: reconfig podman
This commit is contained in:
parent
e9a77fccb7
commit
634d7eb2e8
3 changed files with 17 additions and 12 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
pcsclite
|
pcsclite
|
||||||
pcsctools
|
pcsctools
|
||||||
pkcs11helper
|
pkcs11helper
|
||||||
|
podman-compose
|
||||||
rclone
|
rclone
|
||||||
sops
|
sops
|
||||||
wget
|
wget
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue