nixosModules: init apps.emudeck
Some checks failed
git-mirror / gitlab-sync (push) Has been cancelled
nix-build / adjustor-build (push) Has been cancelled
nix-build / clean-install-build (push) Has been cancelled
nix-build / emudeck-build (push) Has been cancelled
nix-build / hhd-ui-build (push) Has been cancelled
nix-build / rofi-bluetooth-build (push) Has been cancelled
nix-build / fallarbor-build (push) Has been cancelled
nix-build / lavaridge-build (push) Has been cancelled
nix-build / mauville-build (push) Has been cancelled
nix-build / pacifidlog-build (push) Has been cancelled
nix-build / petalburg-build (push) Has been cancelled
nix-build / rustboro-build (push) Has been cancelled
nix-build / slateport-build (push) Has been cancelled
nix-check / fmt-check (push) Has been cancelled
nix-check / eval-check (push) Has been cancelled

This commit is contained in:
Aly Raffauf 2024-11-29 21:55:58 -05:00
parent 7dbd19707e
commit 74cf1d4105
3 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./emudeck
./firefox
./nicotine-plus
./steam

View file

@ -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;
};
};
}

View file

@ -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.";