Push these changes to a branch cause I'm kind of giving up
This commit is contained in:
parent
d9469fc321
commit
e3bacb2d84
229 changed files with 1496 additions and 1479 deletions
7
home/programs/gaming/default.nix
Normal file
7
home/programs/gaming/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./general
|
||||
./emulators
|
||||
./xash3d
|
||||
];
|
||||
}
|
16
home/programs/gaming/emulators/default.nix
Normal file
16
home/programs/gaming/emulators/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{pkgs, lib, config, ...}: {
|
||||
options = {
|
||||
gaming.emulators.enable = lib.mkEnableOption "Enable console emulators";
|
||||
};
|
||||
|
||||
config = mkIf config.gaming.emulators.enable; {
|
||||
home.packages = with pkgs; [
|
||||
dolphin-emu
|
||||
cemu
|
||||
ryujinx
|
||||
duckstation
|
||||
pcsx2
|
||||
unstable.lime3ds
|
||||
];
|
||||
};
|
||||
}
|
14
home/programs/gaming/general/default.nix
Normal file
14
home/programs/gaming/general/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{pkgs, lib, config, ...}: {
|
||||
options = {
|
||||
gaming.general.enable = lib.mkEnableOption "Enable PC gaming apps";
|
||||
};
|
||||
|
||||
config = mkIf config.gaming.general.enable; {
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
steam-run
|
||||
heroic
|
||||
prismlauncher
|
||||
];
|
||||
};
|
||||
}
|
12
home/programs/gaming/xash3d/default.nix
Normal file
12
home/programs/gaming/xash3d/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{pkgs, lib, config, ...}: {
|
||||
options = {
|
||||
gaming.xash3d.enable = lib.mkEnableOption "Enable Xash3d for Half-Life";
|
||||
};
|
||||
|
||||
config = mkIf config.gaming.xash3d.enable; {
|
||||
home.packages = with pkgs; [
|
||||
xash3d
|
||||
hlsdk
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue