Initial commit

This commit is contained in:
2025-07-11 18:08:12 +03:00
commit 74c6a29a13
478 changed files with 23775 additions and 0 deletions

58
nixos/virtualisation.nix Normal file
View File

@@ -0,0 +1,58 @@
{ pkgs, ... }:
{
# Enable Kasm
# services.kasmweb = {
# enable = true;
# listenPort = 9999;
# };
# Enable Containerd
# virtualisation.containerd.enable = true;
# Enable Docker
# virtualisation.docker = {
# enable = true;
# rootless = {
# enable = true;
# setSocketVariable = true;
# daemon.settings.features.cdi = 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;
dockerSocket.enable = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
environment.variables.DBX_CONTAINER_MANAGER = "podman";
users.extraGroups.podman.members = [ "xnm" ];
environment.systemPackages = with pkgs; [
nvidia-docker
nerdctl
# firecracker
# firectl
# flintlock
distrobox
qemu
lima
podman-compose
podman-tui
docker-compose
# lazydocker
# docker-credential-helpers
];
}