gaming: Add gaming-specific packages and settings
This commit is contained in:
1 parent
3bc1c21b4c
commit
e80232bb39
3 files changed
+64
-30
No files matched your search
@@ -21,6 +21,7 @@
|
||||
./programs/xournalpp
|
||||
./programs/plasma
|
||||
./programs/office
|
||||
./programs/gaming
|
||||
|
||||
# Services
|
||||
./services/kanshi
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.programs.gaming;
|
||||
in {
|
||||
options.ptw.programs.gaming = {
|
||||
enable = lib.mkEnableOption "Configure gaming options";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
winePackages.stagingFull winetricks
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user