mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
refactored nixos directory & updated README
This commit is contained in:
44
nixos/virtualisation.nix
Normal file
44
nixos/virtualisation.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable Containerd
|
||||
# virtualisation.containerd.enable = true;
|
||||
|
||||
# Enable Docker
|
||||
# virtualisation.docker.enable = true;
|
||||
# virtualisation.docker.rootless = {
|
||||
# enable = true;
|
||||
# setSocketVariable = true;
|
||||
# };
|
||||
# users.extraGroups.docker.members = [ "xnm" ];
|
||||
|
||||
# Enable Podman
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# nerdctl
|
||||
|
||||
# firecracker
|
||||
# firectl
|
||||
# flintlock
|
||||
|
||||
distrobox
|
||||
qemu
|
||||
|
||||
podman-compose
|
||||
podman-tui
|
||||
|
||||
# lazydocker
|
||||
# docker-credential-helpers
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user