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:
parent
0f12915de4
commit
4971dec157
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue