mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +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";
|
enable = lib.mkEnableOption "foodogsquared's gaming setup";
|
||||||
emulators.enable = lib.mkEnableOption "installation of individual game emulators";
|
emulators.enable = lib.mkEnableOption "installation of individual game emulators";
|
||||||
retro-computing.enable = lib.mkEnableOption "installation of retro computer systems";
|
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. :)
|
# 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.
|
# Old computer systems for old people.
|
||||||
(lib.mkIf cfg.retro-computing.enable {
|
(lib.mkIf cfg.retro-computing.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
Loading…
Reference in New Issue
Block a user