mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
profiles/gaming: add games submodule
This commit is contained in:
parent
ab8ab4921c
commit
59bfa0e9d4
@ -9,6 +9,7 @@ in
|
||||
enable = lib.mkEnableOption "foodogsquared's gaming setup";
|
||||
emulators.enable = lib.mkEnableOption "installation of individual game emulators";
|
||||
retro-computing.enable = lib.mkEnableOption "installation of retro computer systems";
|
||||
games.enable = lib.mkEnableOption "installation of certain FOSS games for funsies";
|
||||
};
|
||||
|
||||
# Just don't ask where you can sail getting the games. :)
|
||||
@ -44,6 +45,24 @@ in
|
||||
];
|
||||
})
|
||||
|
||||
# Despite the module being for gaming setup, no individual games are
|
||||
# installed. Also, all of the installed games are FOSS so far. At least,
|
||||
# Stallman-senpai would be proud.
|
||||
(lib.mkIf cfg.games.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
cataclysm-dda
|
||||
dwarf-fortress
|
||||
endless-sky
|
||||
mindustry
|
||||
minetest
|
||||
openra
|
||||
superTuxKart
|
||||
the-powder-toy
|
||||
wesnoth
|
||||
zeroad
|
||||
];
|
||||
})
|
||||
|
||||
# Old computer systems for old people.
|
||||
(lib.mkIf cfg.retro-computing.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user