Update Vanguard for new sway config
This commit is contained in:
parent
90a19c482f
commit
50239bde6e
|
@ -4,7 +4,7 @@
|
||||||
../../hardware/audio.nix
|
../../hardware/audio.nix
|
||||||
../../hardware/bluetooth.nix
|
../../hardware/bluetooth.nix
|
||||||
../../locales/en_GB.nix
|
../../locales/en_GB.nix
|
||||||
../../desktop/hyprland.nix
|
../../wm/sway.nix
|
||||||
../../services/sshd
|
../../services/sshd
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
|
@ -15,14 +15,9 @@
|
||||||
environment.systemPackages = with pkgs; [mesa];
|
environment.systemPackages = with pkgs; [mesa];
|
||||||
|
|
||||||
# Steam
|
# Steam
|
||||||
programs.gamescope = {
|
|
||||||
enable = true;
|
|
||||||
capSysNice = true;
|
|
||||||
};
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
gamescopeSession.enable = true;
|
|
||||||
};
|
};
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
@ -40,7 +35,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
initial_session = {
|
initial_session = {
|
||||||
# command = "${pkgs.gamescope}/bin/gamescope --steam -- steam -tenfoot -pipewire-dmabuf";
|
|
||||||
command = "sway";
|
command = "sway";
|
||||||
user = "xenia";
|
user = "xenia";
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,29 +8,8 @@
|
||||||
home.homeDirectory = "/home/xenia";
|
home.homeDirectory = "/home/xenia";
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
||||||
# wayland.windowManager.hyprland.extraConfig = ''
|
|
||||||
# source=./common.conf
|
|
||||||
# monitor=HDMI-A-2,preferred,auto,2.00
|
|
||||||
# '';
|
|
||||||
wayland.windowManager.sway.config = {
|
wayland.windowManager.sway.config = {
|
||||||
output.HDMI-A-2.scale = "2.0";
|
output.HDMI-A-2.scale = "2.0";
|
||||||
startup = [{command = "steam";}];
|
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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue