added gaming role.

This commit is contained in:
Gabe Venberg 2024-05-22 13:52:00 -05:00
parent 399351c3c1
commit 9068858ee4
2 changed files with 18 additions and 1 deletions

View file

@ -4,7 +4,7 @@
lib, lib,
... ...
}: { }: {
# when it gets packaged, will want cadquery and build123d # when it gets packaged, will want cadquery and build123d
home.packages = with pkgs; [ home.packages = with pkgs; [
prusa-slicer prusa-slicer
freecad freecad

17
roles/nixos/gaming.nix Normal file
View file

@ -0,0 +1,17 @@
{
config,
pkgs,
lib,
...
}: {
programs.steam = {
enable = true;
extraCompatPackages = with pkgs;[
proton-ge-bin
];
gamescopeSession.enable=true;
};
programs.gamemode.enable=true;
hardware.steam-hardware.enable = true;
}