From 8467f78df9feca18b048981b0121eebcb7808318 Mon Sep 17 00:00:00 2001 From: ISnortPennies Date: Sat, 10 Sep 2022 22:28:13 -0400 Subject: [PATCH] switched to pipewire from pulseaudio and tweaked vm perfomance --- configuration.nix | 37 +++--- misc/Windows.xml | 310 ++++++++++++++++++++++------------------------ 2 files changed, 167 insertions(+), 180 deletions(-) diff --git a/configuration.nix b/configuration.nix index 632d328..f8bbd51 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,7 +18,7 @@ keep-outputs = false keep-derivations = false experimental-features = nix-command flakes - ''; + ''; }; networking = { firewall.enable = true; @@ -38,32 +38,35 @@ enable = true; servers = [ "time.google.com" - "time2.google.com" + "time2.google.com" ]; }; }; - # Select internationalisation properties. +# Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; console = { font = "Lat2-Terminus16"; useXkbConfig = true; }; +#pipewire sound + sound.enable = false; - # Enable sound. +# rtkit is optional but recommended security.rtkit.enable = true; - hardware.pulseaudio = { + services.pipewire = { enable = true; - support32Bit = true; - package = pkgs.pulseaudioFull; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; }; - - #enable ssh - programs = { - mtr.enable = true; - gnupg.agent = { - enable = true; - enableSSHSupport = true; +#enable ssh + programs = { + mtr.enable = true; + gnupg.agent = { + enable = true; + enableSSHSupport = true; + }; }; - }; - services.openssh.enable = true; -} + services.openssh.enable = true; + } diff --git a/misc/Windows.xml b/misc/Windows.xml index 6313146..8933390 100644 --- a/misc/Windows.xml +++ b/misc/Windows.xml @@ -1,219 +1,203 @@ - + Windows 60d8329e-8670-f8bb-4a7d-04d9f51eff76 - - - - - - 16384000 - 16384000 - - - - - 6 + 16777216 + 16777216 + 6 - - - - - - - + + + + + + + - hvm - /run/libvirt/nix-ovmf/OVMF_CODE.fd + hvm + /run/libvirt/nix-ovmf/OVMF_CODE.fd /var/lib/libvirt/qemu/nvram/Windows_VARS.fd - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - + + - - - - - - - - + + + - - - - - - + + + + + + destroy restart destroy - - + + /run/libvirt/nix-emulators/qemu-system-x86_64 - - - - -
+ + + + +
- - - - -
+ + + + +
- - - - -
+ + + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- -
+ +
- -
+ +
- - - - - -
+ + + + + +
- -
+ + - -
+ + - - + + - - - - - - - - - - -