modified: hosts/blackstar/nixos/configuration.nix

modified:   modules/default.nix
   	new file:   modules/desktop/apps/emulationstation.nix
	modified:   modules/desktop/games.nix
This commit is contained in:
Mrrp 2024-08-26 21:33:17 -07:00
parent 8caae9e267
commit ba8d509390
4 changed files with 25 additions and 11 deletions

View file

@ -42,6 +42,7 @@
xiv.enable = true;
godot.enable = true;
minecraft.enable = true;
emulationstation.enable = true;
};
};
# system.boot.grub.enable = true;

View file

@ -4,6 +4,7 @@
./desktop/apps/godot.nix
./desktop/apps/xiv.nix
./desktop/apps/minecraft.nix
./desktop/apps/emulationstation.nix
./desktop/cad.nix
./desktop/cam.nix

View file

@ -0,0 +1,20 @@
/* -------------------------------------------------------------------------- */
/* App config: EmulationStation */
/* -------------------------------------------------------------------------- */
{ lib, config, options, pkgs ? import <nixpkgs>, ... }:
with lib;
let cfg = config.modules.desktop.apps.emulationstation;
in {
options.modules.desktop.apps.emulationstation = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.unstable; [
emulationstation-de
];
};
}

View file

@ -8,17 +8,9 @@ in {
};
config = mkIf cfg.enable {
/* Driver includes support for Huion Kamvas Pro */
hardware.opentabletdriver.enable = true;
environment.systemPackages = with pkgs.unstable; [
environment.systemPackages = with pkgs; [
steam
lutris
emulationstation-de
];
permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
];
};
}