feat(nixos): Steam
This commit is contained in:
parent
fab00092df
commit
032f595f7e
2 changed files with 21 additions and 0 deletions
20
modules/nixos/programs/steam/default.nix
Normal file
20
modules/nixos/programs/steam/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.steam;
|
||||
in {
|
||||
options.marleyos.programs.steam.enable = lib.mkEnableOption "steam";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
|
||||
extraCompatPackages = with pkgs; [
|
||||
proton-ge-bin
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -21,6 +21,7 @@ in {
|
|||
programs = {
|
||||
fish = enabled;
|
||||
nh = enabled;
|
||||
steam = enabled;
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
Loading…
Reference in a new issue