From 50239bde6ea3d7cab8a6f07e481cfebbdc9ba2af Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 21 Jun 2023 08:38:45 +0100 Subject: [PATCH] Update Vanguard for new sway config --- machines/Vanguard/default.nix | 8 +------- machines/Vanguard/xenia.nix | 21 --------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/machines/Vanguard/default.nix b/machines/Vanguard/default.nix index f0b2dbad..4c95c212 100644 --- a/machines/Vanguard/default.nix +++ b/machines/Vanguard/default.nix @@ -4,7 +4,7 @@ ../../hardware/audio.nix ../../hardware/bluetooth.nix ../../locales/en_GB.nix - ../../desktop/hyprland.nix + ../../wm/sway.nix ../../services/sshd ]; networking = { @@ -15,14 +15,9 @@ environment.systemPackages = with pkgs; [mesa]; # Steam - programs.gamescope = { - enable = true; - capSysNice = true; - }; programs.steam = { enable = true; remotePlay.openFirewall = true; - gamescopeSession.enable = true; }; hardware.steam-hardware.enable = true; hardware.opengl.driSupport32Bit = true; @@ -40,7 +35,6 @@ enable = true; settings = rec { initial_session = { - # command = "${pkgs.gamescope}/bin/gamescope --steam -- steam -tenfoot -pipewire-dmabuf"; command = "sway"; user = "xenia"; }; diff --git a/machines/Vanguard/xenia.nix b/machines/Vanguard/xenia.nix index ce455af7..ab37b35c 100644 --- a/machines/Vanguard/xenia.nix +++ b/machines/Vanguard/xenia.nix @@ -8,29 +8,8 @@ home.homeDirectory = "/home/xenia"; home.stateVersion = "22.11"; - # wayland.windowManager.hyprland.extraConfig = '' - # source=./common.conf - # monitor=HDMI-A-2,preferred,auto,2.00 - # ''; wayland.windowManager.sway.config = { output.HDMI-A-2.scale = "2.0"; startup = [{command = "steam";}]; }; - programs.waybar.settings.main = { - "modules-left" = [ - "sway/workspaces" - "cpu" - "memory" - "temperature" - ]; - "modules-center" = ["clock"]; - "modules-right" = [ - "pulseaudio" - "bluetooth" - "network" - "backlight" - "battery" - "tray" - ]; - }; }