Split steam into separate expression
This commit is contained in:
parent
8cf3639160
commit
e3fc4db76a
|
@ -239,7 +239,10 @@
|
|||
hostName = "Northstar";
|
||||
user = "xenia";
|
||||
system = "x86_64-linux";
|
||||
in systemConfig { inherit hostName user system; };
|
||||
in systemConfig {
|
||||
inherit hostName user system;
|
||||
systemModules = default.systemModules ++ [ ./system/steam.nix ];
|
||||
};
|
||||
|
||||
Ronin = let
|
||||
hostName = "Ronin";
|
||||
|
@ -253,7 +256,7 @@
|
|||
system = "x86_64-linux";
|
||||
in systemConfig {
|
||||
inherit hostName user system;
|
||||
systemModules = [ ./system/gamepass.nix ];
|
||||
systemModules = [ ./system/gamescope.nix ];
|
||||
serviceModules = [ ./services/sshd/default.nix ];
|
||||
homeModules = [
|
||||
./home/git/default.nix
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
--hide-cursor-delay 5 --steam -- steam -gamepadui
|
||||
'';
|
||||
in {
|
||||
imports = [ ./desktop.nix ];
|
||||
imports = [ ./desktop.nix ./steam.nix ];
|
||||
services = {
|
||||
blueman.enable = true;
|
||||
greetd = {
|
||||
|
@ -24,20 +24,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
opengl.driSupport32Bit = true;
|
||||
steam-hardware.enable = true;
|
||||
};
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
20
system/steam.nix
Normal file
20
system/steam.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
hardware = {
|
||||
opengl.driSupport32Bit = true;
|
||||
steam-hardware.enable = true;
|
||||
};
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue