Reorganized
This commit is contained in:
1 parent
c3c61ce654
commit
760815da50
145 files changed
-1444
No files matched your search
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.es-de;
|
||||
in
|
||||
{
|
||||
options.modules.es-de = {
|
||||
enable = mkEnableOption "Emulation Station Desktop Edition";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
emulationstation-de
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
ESDE_APPDATA_DIR = "$HOME/.config/ES-DE";
|
||||
};
|
||||
|
||||
# TODO: Remove exception once no longer required by es-de
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"freeimage-3.18.0-unstable-2024-04-18"
|
||||
];
|
||||
|
||||
# TODO: Remove once emulationstation-de fixes the issue
|
||||
# TODO: If not fixed, at least pin the specific commit properly
|
||||
# nixpkgs.overlays =
|
||||
# let
|
||||
# pkgs-stable = import (fetchTarball {
|
||||
# url = "https://github.com/NixOS/nixpkgs/archive/nixos-24.11.tar.gz";
|
||||
# sha256 = "1wr1xzkw7v8biqqjcr867gbpqf3kibkgly36lcnhw0glvkr1i986";
|
||||
# }) { inherit system; };
|
||||
# in
|
||||
# [
|
||||
# (final: prev: {
|
||||
# libgit2 = pkgs-stable.libgit2;
|
||||
# })
|
||||
# ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.modrinth;
|
||||
in
|
||||
{
|
||||
options.modules.modrinth = {
|
||||
enable = mkEnableOption "modrinth";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
modules.unfree.allowedPackages = [
|
||||
"modrinth-app"
|
||||
"modrinth-app-unwrapped"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
modrinth-app
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options.modules.steam = {
|
||||
enable = mkEnableOption "steam";
|
||||
};
|
||||
|
||||
config = mkIf config.modules.steam.enable {
|
||||
# Steam must be installed systemwide as of time of writing
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user