NixOSConfig/lib/configuration.nix

26 lines
466 B
Nix
Raw Normal View History

2024-05-01 16:58:39 +00:00
{ machineConfig, ... }: {
imports = [
./modules/custom-build-vm.nix
];
config = {
system.stateVersion = "23.11";
virtualisation =
let
vmConfig = {
virtualisation = {
sharedHostKeys = true;
virt-viewer = true;
};
};
in {
vmVariant = vmConfig;
vmVariantWithBootLoader = vmConfig;
};
# Networking
networking.hostName = machineConfig.name;
};
}