Added vpn vm with wstunnel server
This commit is contained in:
1 parent
a75b839bc1
commit
01374fe5b0
4 files changed
+65
-4
No files matched your search
@@ -16,19 +16,18 @@ in
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# Machine hostname
|
||||
networking.hostName = lib.mkDefault "vm-base";
|
||||
|
||||
# Enabled modules
|
||||
modules = {
|
||||
profiles.base.enable = true;
|
||||
base.enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
# Enable qemu guest agent
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
# Machine platform
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
# Hardware configuration
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
boot.initrd.availableKernelModules = [
|
||||
|
||||
Reference in new issue
Block a user