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 = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../hyprland.nix
../gamescope.nix
];
# Bootloader.

View file

@ -1,18 +1,16 @@
{ user, shellConfig, ... }:
let homeDirectory = "/home/${user}";
in {
imports = [ shellConfig ../../home ];
imports = [
shellConfig
../../home/git
../../home/ssh
../../home/tui
];
home = {
inherit homeDirectory;
username = user;
stateVersion = "22.11";
};
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
sessionCommand = ''
gamescope\
@ -11,9 +11,16 @@ in {
imports = [ ./desktop.nix ];
services = {
blueman.enable = true;
greetd.enable = true;
greetd.settings = {
default_session.command = sessionCommand;
initial_session.command = sessionCommand;
default_session = {
inherit user;
command = sessionCommand;
};
initial_session = {
inherit user;
command = sessionCommand;
};
};
};
programs = {