Split steam into separate expression
This commit is contained in:
parent
8cf3639160
commit
e3fc4db76a
|
@ -239,7 +239,10 @@
|
||||||
hostName = "Northstar";
|
hostName = "Northstar";
|
||||||
user = "xenia";
|
user = "xenia";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in systemConfig { inherit hostName user system; };
|
in systemConfig {
|
||||||
|
inherit hostName user system;
|
||||||
|
systemModules = default.systemModules ++ [ ./system/steam.nix ];
|
||||||
|
};
|
||||||
|
|
||||||
Ronin = let
|
Ronin = let
|
||||||
hostName = "Ronin";
|
hostName = "Ronin";
|
||||||
|
@ -253,7 +256,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in systemConfig {
|
in systemConfig {
|
||||||
inherit hostName user system;
|
inherit hostName user system;
|
||||||
systemModules = [ ./system/gamepass.nix ];
|
systemModules = [ ./system/gamescope.nix ];
|
||||||
serviceModules = [ ./services/sshd/default.nix ];
|
serviceModules = [ ./services/sshd/default.nix ];
|
||||||
homeModules = [
|
homeModules = [
|
||||||
./home/git/default.nix
|
./home/git/default.nix
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
--hide-cursor-delay 5 --steam -- steam -gamepadui
|
--hide-cursor-delay 5 --steam -- steam -gamepadui
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
imports = [ ./desktop.nix ];
|
imports = [ ./desktop.nix ./steam.nix ];
|
||||||
services = {
|
services = {
|
||||||
blueman.enable = true;
|
blueman.enable = true;
|
||||||
greetd = {
|
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