Switch quite to podman from docker.

I'm more used to it, and I find docker's history to be questionable
This commit is contained in:
Eli Ribble 2024-07-20 03:57:29 +00:00
parent 0f12915de4
commit 4971dec157
1 changed files with 8 additions and 3 deletions

View File

@ -62,7 +62,7 @@
users.users.eliribble = {
isNormalUser = true;
description = "Eli Ribble";
extraGroups = [ "docker" "networkmanager" "wheel" ]; # Enable sudo for the user.
extraGroups = [ "docker" "networkmanager" "podman" "wheel" ]; # Enable sudo for the user.
# packages = with pkgs; [
# firefox
# tree
@ -83,6 +83,8 @@
#unifi8
wget
];
networking.hostName = "quinn";
# Allow specific unfree packages
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
@ -144,7 +146,10 @@
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "24.05"; # Did you read the comment?
# Enable docker
virtualisation.docker.enable = true;
# Enable podman since we are on NixOS 21.05
virtualisation.docker.enable = false;
virtualisation.podman.enable = true;
virtualisation.podman.dockerSocket.enable = true;
virtualisation.podman.defaultNetwork.settings.dns_enabled = true;
}