From 3205e746cc0d8d05c4cafabc36dcda7e7c961b46 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 19 Jun 2024 16:03:04 +0200 Subject: [PATCH] pinwheel: Add module for `games` --- hosts/pinwheel/home.nix | 1 - hosts/pinwheel/modules/games/default.nix | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 hosts/pinwheel/modules/games/default.nix diff --git a/hosts/pinwheel/home.nix b/hosts/pinwheel/home.nix index de75fd7..2e8f798 100644 --- a/hosts/pinwheel/home.nix +++ b/hosts/pinwheel/home.nix @@ -15,7 +15,6 @@ home.packages = [ pkgs.zip - pkgs.brogue-ce pkgs.jq pkgs.bitwarden pkgs.dbeaver-bin diff --git a/hosts/pinwheel/modules/games/default.nix b/hosts/pinwheel/modules/games/default.nix new file mode 100644 index 0000000..38e5f03 --- /dev/null +++ b/hosts/pinwheel/modules/games/default.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: +{ + home-manager.users.alex = { + home.packages = [ + pkgs.brogue-ce + + (pkgs.retroarch.override { + cores = [ + pkgs.libretro.genesis-plus-gx + pkgs.libretro.snes9x + pkgs.libretro.dolphin + ]; + }) + ]; + }; +}