diff --git a/nixosModules/apps/default.nix b/nixosModules/apps/default.nix index e0267d5c..f49f2c13 100644 --- a/nixosModules/apps/default.nix +++ b/nixosModules/apps/default.nix @@ -1,5 +1,6 @@ { imports = [ + ./emudeck ./firefox ./nicotine-plus ./steam diff --git a/nixosModules/apps/emudeck/default.nix b/nixosModules/apps/emudeck/default.nix new file mode 100644 index 00000000..77f49675 --- /dev/null +++ b/nixosModules/apps/emudeck/default.nix @@ -0,0 +1,15 @@ +{ + config, + lib, + pkgs, + ... +}: { + config = lib.mkIf (config.ar.apps.emudeck.enable) { + environment.systemPackages = with pkgs; [emudeck]; + + ar = { + apps.steam.enable = lib.mkDefault true; + services.flatpak.enable = lib.mkDefault true; + }; + }; +} diff --git a/nixosModules/options.nix b/nixosModules/options.nix index f91bb107..a5ddf128 100644 --- a/nixosModules/options.nix +++ b/nixosModules/options.nix @@ -5,6 +5,7 @@ }: { options.ar = { apps = { + emudeck.enable = lib.mkEnableOption "EmuDeck emulator manager."; firefox.enable = lib.mkEnableOption "Firefox Web Browser."; nicotine-plus.enable = lib.mkEnableOption "Nicotine+ Soulseek client."; podman.enable = lib.mkEnableOption "Podman for OCI container support.";