podman -> docker

This commit is contained in:
Sean Buckley 2024-06-09 01:23:34 -04:00
parent a2ba3adb04
commit 41e7f72e29

View file

@ -13,9 +13,20 @@ with lib;
config = mkIf (config.sconfig.desktop.enable) { config = mkIf (config.sconfig.desktop.enable) {
programs.steam.enable = true; programs.steam.enable = true;
virtualisation.podman.enable = true;
networking.networkmanager.wifi.powersave = false; networking.networkmanager.wifi.powersave = false;
systemd.services.docker.path = [
pkgs.openssh
];
programs.bash.interactiveShellInit = ''
((UID)) && alias docker="sudo --preserve-env=SSH_AUTH_SOCK docker"
'';
virtualisation.docker = {
enable = true;
enableOnBoot = false;
daemon.settings.data-root = "/nix/persist/docker";
};
# Pipewire # Pipewire
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;