From 2bd7d7d080bdb651009fd561ea9c60ceade854d5 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 26 Apr 2023 00:17:33 -0400 Subject: [PATCH] Tweak vm --- machines/productivity-vm/configuration.nix | 2 ++ machines/productivity-vm/home.nix | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/machines/productivity-vm/configuration.nix b/machines/productivity-vm/configuration.nix index 55987b9..b219233 100644 --- a/machines/productivity-vm/configuration.nix +++ b/machines/productivity-vm/configuration.nix @@ -28,6 +28,8 @@ device = "/dev/sda"; useOSProber = true; }; + virtualisation.vmware.guest.enable = true; + environment.variables = { "WLR_NO_HARDWARE_CURSORS" = "1"; }; # Setup system configuration nathan = { programs = { games = false; }; diff --git a/machines/productivity-vm/home.nix b/machines/productivity-vm/home.nix index 3ce16b3..325b98a 100644 --- a/machines/productivity-vm/home.nix +++ b/machines/productivity-vm/home.nix @@ -17,13 +17,13 @@ # Sway outputs wayland.windowManager.sway.config = { output = { - # DP-1 = { - # scale = "1.25"; - # subpixel = "rgb"; - # max_render_time = "6"; - # adaptive_sync = "on"; - # render_bit_depth = "10"; - # }; + Virtual-1 = { + scale = "1.25"; + subpixel = "rgb"; + # max_render_time = "6"; + # adaptive_sync = "on"; + # render_bit_depth = "10"; + }; }; input = { "type:pointer" = { pointer_accel = "-0.3"; }; }; startup = [ ]; @@ -35,13 +35,13 @@ # disconnecting input) systemd.user.services.glpaper-dp1 = { Unit = { - Description = "glpaper (DP-1)"; + Description = "glpaper (Virtual-1)"; After = [ "graphical-session.target" ]; }; Service = { Type = "simple"; ExecStart = '' - /etc/profiles/per-user/nathan/bin/glpaper DP-1 ${ + /etc/profiles/per-user/nathan/bin/glpaper Virtual-1 ${ ../../custom-files/sway/selen.frag } ''; @@ -56,6 +56,6 @@ # Mako output configuration programs.mako = { # Lock mako notifs to main display - output = "DP-1"; + output = "Virtual-1"; }; }