Move steam config into Vanguard.nix, disable sddm

This commit is contained in:
Evie Litherland-Smith 2023-05-25 12:22:44 +01:00
parent 0dd2486013
commit 5f5c3467eb
2 changed files with 10 additions and 14 deletions

View file

@ -5,9 +5,7 @@
./hardware/audio.nix
./hardware/bluetooth.nix
./locales/en_GB.nix
./desktop/sddm.nix
./desktop/hyprland.nix
./desktop/steam.nix
./syncthing/Vanguard.nix
./server/sshd.nix
./server/adguardhome.nix
@ -23,7 +21,6 @@
allowedTCPPorts = [22];
};
services.xserver.displayManager.defaultSession = "hyprland";
users.users.xenia = {
isNormalUser = true;
description = "Evie Litherland-Smith";
@ -38,6 +35,16 @@
home-manager.users.root = import ./home/Vanguard/root.nix;
home-manager.users.xenia = import ./home/Vanguard/xenia.nix;
# Enable steam with proper integrations
environment.systemPackages = [pkgs.mesa];
programs.gamescope.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
# Extra hardware configuration
hardware.openrazer = {
enable = true;

View file

@ -1,11 +0,0 @@
{pkgs, ...}: {
environment.systemPackages = [pkgs.mesa];
programs.gamescope.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
hardware.steam-hardware.enable = true;
hardware.opengl.driSupport32Bit = true;
}