Add steam gamescope compositor as desktop option, set default for Vanguard
This commit is contained in:
parent
ee2971579d
commit
a0608acde3
|
@ -10,9 +10,17 @@ in
|
|||
./hardware/bluetooth.nix
|
||||
./locales/en_GB.nix
|
||||
./desktop/hyprland.nix
|
||||
./desktop/steam.nix
|
||||
];
|
||||
|
||||
networking.hostName = "Vanguard"; # Define your hostname.
|
||||
#networking.wireless.networks."LAN LAN Ranch".pskRaw = "d4c31e976456783b61d573ee49c94f93914a81bf1048c2f2e1e166c36bdfcd4a";
|
||||
networking.extraHosts = ''
|
||||
192.168.1.230 Legion
|
||||
'';
|
||||
networking.nameservers = [ "192.168.1.230" ];
|
||||
|
||||
services.xserver.displayManager.defaultSession = "steam";
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.xenia = {
|
||||
|
@ -31,10 +39,6 @@ in
|
|||
};
|
||||
|
||||
# Extra hardware configuration
|
||||
# For Steam support
|
||||
programs.steam.enable = true;
|
||||
hardware.steam-hardware.enable = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.openrazer = {
|
||||
enable = true;
|
||||
users = [ "xenia" ];
|
||||
|
|
|
@ -8,7 +8,13 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
#wireless = {
|
||||
# enable = true;
|
||||
# userControlled.enable = true;
|
||||
#};
|
||||
};
|
||||
|
||||
# Enable power-profiles
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
|
15
nixos/desktop/steam.nix
Normal file
15
nixos/desktop/steam.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ./sddm.nix ];
|
||||
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;
|
||||
}
|
Loading…
Reference in a new issue