Reorganization

This commit is contained in:
Jan-Bulthuis 2025-01-26 13:16:06 +01:00
parent 592f5dc0ef
commit 8e0e511335
15 changed files with 43 additions and 11 deletions

View File

@ -13,16 +13,8 @@
./discord/default.nix ./discord/default.nix
./feishin/default.nix ./feishin/default.nix
./fontconfig/default.nix ./fontconfig/default.nix
./games/modrinth.nix ./gaming/default.nix
./git/default.nix ./git/default.nix
./language/cpp.nix
./language/haskell.nix
./language/js.nix
./language/jupyter.nix
./language/nix.nix
./language/python.nix
./language/rust.nix
./language/tex.nix
./mako/default.nix ./mako/default.nix
./neovim/default.nix ./neovim/default.nix
./obsidian/default.nix ./obsidian/default.nix
@ -32,7 +24,6 @@
./shell/bash.nix ./shell/bash.nix
./shell/fish.nix ./shell/fish.nix
./spotify/default.nix ./spotify/default.nix
./steam/default.nix
./terminal/default.nix ./terminal/default.nix
./terminal/foot/default.nix ./terminal/foot/default.nix
./theming/default.nix ./theming/default.nix

View File

@ -3,6 +3,14 @@
{ {
imports = [ imports = [
./ide/matlab.nix ./ide/matlab.nix
./utilities/docker.nix ./language/cpp.nix
./language/haskell.nix
./language/js.nix
./language/jupyter.nix
./language/nix.nix
./language/python.nix
./language/rust.nix
./language/tex.nix
./utility/docker.nix
]; ];
} }

View File

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./emulators/ryujinx.nix
./launchers/modrinth.nix
./launchers/steam.nix
];
}

View File

@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.ryujinx;
in
{
options.modules.modrinth = {
enable = mkEnableOption "ryujinx";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
ryujinx
];
};
}

View File

@ -10,4 +10,6 @@ with lib;
options.modules.steam = { options.modules.steam = {
enable = mkEnableOption "steam"; enable = mkEnableOption "steam";
}; };
# The rest of the configuration is in a systemwide module
} }