hosts/ni: update for virtualization usage

This commit is contained in:
Gabriel Arazas 2024-12-03 12:40:43 +08:00
parent 07156ac9dd
commit 119fe3e4a8
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 10 additions and 0 deletions
configs/nixos/ni/modules
networking
setups

View File

@ -78,6 +78,13 @@ in
};
};
# Cross-platform filesystem networking.
services.samba = {
enable = true;
nmbd.enable = true;
nsswins = true;
};
# Set resolved for DNS resolutions.
services.resolved = {
enable = true;

View File

@ -21,6 +21,9 @@ in
neovim.enable = true;
};
# Allow USB redirections to machines.
virtualisation.spiceUSBRedirection.enable = lib.mkDefault true;
# Replace container runtime to Docker.
virtualisation.podman.enable = lib.mkForce false;
virtualisation.docker = {