diff options
| author | Christian <[email protected]> | 2026-04-17 12:03:46 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-04-17 12:03:46 -0500 |
| commit | b37bb85cd72dc3aca02aaa99d944f92ce75246f2 (patch) | |
| tree | bc185b306e5af248b866240dcc4771845811b760 /hosts/hyper-v/configuration.nix | |
| parent | 0b77660443280e0dbfccf1b55785ea6db5ac2d62 (diff) | |
Formatting
Diffstat (limited to 'hosts/hyper-v/configuration.nix')
| -rw-r--r-- | hosts/hyper-v/configuration.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/hosts/hyper-v/configuration.nix b/hosts/hyper-v/configuration.nix index 8da08c2..77da89b 100644 --- a/hosts/hyper-v/configuration.nix +++ b/hosts/hyper-v/configuration.nix @@ -1,18 +1,24 @@ -{config, lib, pkgs, inputs, ...}: +{ + config, + lib, + pkgs, + inputs, + ... +}: { - imports = - [ # Include the results of the hardware scan. - ./hardware-configuration.nix - ../../modules/common.nix - ]; + imports = [ + # Include the results of the hardware scan. + ./hardware-configuration.nix + ../../modules/common.nix + ]; networking.hostName = "hyper-v"; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - + # Hyper-V setup virtualisation.hypervGuest.enable = true; services.xrdp.enable = true; @@ -29,7 +35,7 @@ --replace-fail "#vmconnect=true" "vmconnect=true" \ --replace-fail "security_layer=negotiate" "security_layer=rdp" \ --replace-fail "crypt_level=high" "crypt_level=none" \ - ''; + ''; services.xserver.displayManager.lightdm.enable = false; |
