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 = {
|
users.users.eliribble = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Eli Ribble";
|
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; [
|
# packages = with pkgs; [
|
||||||
# firefox
|
# firefox
|
||||||
# tree
|
# tree
|
||||||
|
@ -83,6 +83,8 @@
|
||||||
#unifi8
|
#unifi8
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
networking.hostName = "quinn";
|
networking.hostName = "quinn";
|
||||||
# Allow specific unfree packages
|
# Allow specific unfree packages
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
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 .
|
# 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?
|
system.stateVersion = "24.05"; # Did you read the comment?
|
||||||
|
|
||||||
# Enable docker
|
# Enable podman since we are on NixOS 21.05
|
||||||
virtualisation.docker.enable = true;
|
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