The other part of dotfiles
This commit is contained in:
parent
2fbfed0e7a
commit
9f1ba4a64b
25 changed files with 1089 additions and 0 deletions
18
modules/desktop/steam.nix
Normal file
18
modules/desktop/steam.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
cfg = config.steam;
|
||||
in
|
||||
{
|
||||
options.steam = {
|
||||
enable = lib.mkEnableOption "Enable Steam and apply customization module";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.steam.enable = true;
|
||||
|
||||
# Necessary for Steam
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue