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:
parent
8caae9e267
commit
ba8d509390
4 changed files with 25 additions and 11 deletions
|
@ -42,6 +42,7 @@
|
||||||
xiv.enable = true;
|
xiv.enable = true;
|
||||||
godot.enable = true;
|
godot.enable = true;
|
||||||
minecraft.enable = true;
|
minecraft.enable = true;
|
||||||
|
emulationstation.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# system.boot.grub.enable = true;
|
# system.boot.grub.enable = true;
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
./desktop/apps/godot.nix
|
./desktop/apps/godot.nix
|
||||||
./desktop/apps/xiv.nix
|
./desktop/apps/xiv.nix
|
||||||
./desktop/apps/minecraft.nix
|
./desktop/apps/minecraft.nix
|
||||||
|
./desktop/apps/emulationstation.nix
|
||||||
|
|
||||||
./desktop/cad.nix
|
./desktop/cad.nix
|
||||||
./desktop/cam.nix
|
./desktop/cam.nix
|
||||||
|
|
20
modules/desktop/apps/emulationstation.nix
Normal file
20
modules/desktop/apps/emulationstation.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,17 +8,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
/* Driver includes support for Huion Kamvas Pro */
|
environment.systemPackages = with pkgs; [
|
||||||
hardware.opentabletdriver.enable = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs.unstable; [
|
|
||||||
steam
|
steam
|
||||||
lutris
|
lutris
|
||||||
emulationstation-de
|
|
||||||
];
|
|
||||||
|
|
||||||
permittedInsecurePackages = [
|
|
||||||
"freeimage-unstable-2021-11-01"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
Reference in a new issue