From 10d169e85b9dd2d97496d930f2ce7b9bf41d6879 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 31 May 2025 16:28:11 -0700 Subject: [PATCH] feat: CEmu --- modules/home/profiles.nix | 1 + .../gui/CEmu/default.nix => modules/home/programs/CEmu.nix | 4 ++-- modules/home/programs/default.nix | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) rename snowflake/modules/home/programs/gui/CEmu/default.nix => modules/home/programs/CEmu.nix (81%) diff --git a/modules/home/profiles.nix b/modules/home/profiles.nix index e1faf21..39b0d0f 100644 --- a/modules/home/profiles.nix +++ b/modules/home/profiles.nix @@ -48,6 +48,7 @@ in { programs = { amfora = enabled; cava = enabled; + CEmu = enabled; cheat = enabled; fzf = enabled; gh = enabled; diff --git a/snowflake/modules/home/programs/gui/CEmu/default.nix b/modules/home/programs/CEmu.nix similarity index 81% rename from snowflake/modules/home/programs/gui/CEmu/default.nix rename to modules/home/programs/CEmu.nix index b4a90ed..3c5586c 100644 --- a/snowflake/modules/home/programs/gui/CEmu/default.nix +++ b/modules/home/programs/CEmu.nix @@ -1,6 +1,6 @@ { - lib, config, + lib, pkgs, ... }: let @@ -8,7 +8,7 @@ in { options.marleyos.programs.CEmu.enable = lib.mkEnableOption "CEmu"; - config = lib.mkIf cfg.enable { + config = lib.mkIf (cfg.enable && pkgs.stdenv.isLinux) { home.packages = with pkgs; [ # cemu-ti marleyos.CEmu-TI-84-Plus-CE diff --git a/modules/home/programs/default.nix b/modules/home/programs/default.nix index 238686c..ebaa961 100644 --- a/modules/home/programs/default.nix +++ b/modules/home/programs/default.nix @@ -5,6 +5,7 @@ ./bat.nix ./btop.nix ./cava.nix + ./CEmu.nix ./cheat.nix ./curl.nix ./eza.nix