Revert Vanguard back to gamescope set up

This commit is contained in:
Evie Litherland-Smith 2023-09-06 20:53:20 +01:00
parent d87b39dd00
commit 14b6fee478
3 changed files with 17 additions and 12 deletions

View file

@ -5,7 +5,7 @@
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
../hyprland.nix ../gamescope.nix
]; ];
# Bootloader. # Bootloader.

View file

@ -1,18 +1,16 @@
{ user, shellConfig, ... }: { user, shellConfig, ... }:
let homeDirectory = "/home/${user}"; let homeDirectory = "/home/${user}";
in { in {
imports = [ shellConfig ../../home ]; imports = [
shellConfig
../../home/git
../../home/ssh
../../home/tui
];
home = { home = {
inherit homeDirectory; inherit homeDirectory;
username = user; username = user;
stateVersion = "22.11"; stateVersion = "22.11";
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
xdg.configFile."hypr/extra.conf".text = ''
misc {
vrr = 2
}
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
'';
} }

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, user ? "xenia", ... }:
let let
sessionCommand = '' sessionCommand = ''
gamescope\ gamescope\
@ -11,9 +11,16 @@ in {
imports = [ ./desktop.nix ]; imports = [ ./desktop.nix ];
services = { services = {
blueman.enable = true; blueman.enable = true;
greetd.enable = true;
greetd.settings = { greetd.settings = {
default_session.command = sessionCommand; default_session = {
initial_session.command = sessionCommand; inherit user;
command = sessionCommand;
};
initial_session = {
inherit user;
command = sessionCommand;
};
}; };
}; };
programs = { programs = {