Skip to content

Commit

Permalink
Separate Sigmachine sys-extra config to a extra file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Sep 7, 2023
1 parent 386a0c9 commit 9579ba9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Empty file removed Makefile
Empty file.
10 changes: 0 additions & 10 deletions config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@
stateVersion = "22.11";
};

programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};

qt.style = "adwaita-dark";
xdg = {
portal = {
Expand All @@ -226,8 +220,4 @@
];
};
};

# Make sure opengl is enabled
hardware.opengl.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
}
10 changes: 10 additions & 0 deletions config/sigmachine.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ ... }:
{
hardware.opengl.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
(import ./config { hostname = "Sigmachine"; })
./hardware/sigmachine.nix
# ./config/github_runner.nix
./config/sigmachine.nix
];
};
};
Expand Down

0 comments on commit 9579ba9

Please sign in to comment.