refactor: change to litterate config

Configuration is now held by the `.org` files. All `.nix` files are
tangled from the org-mode files.
This commit is contained in:
phundrak committed 2026-10-11 16:50:54 +02:00
1 parent 5f4a7a4a42
commit b88df61d57
82 files changed
+3422 -592

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{config, ...}: let
m = config.flake.modules.homeManager;
in {
flake.modules.homeManager.games = {
config,
lib,
...
}:
with lib; let
cfg = config.home.games;
in {
imports = [
m.mangohud
m.game-packages
];
options.home.games.fullDesktop = mkEnableOption "Enable all optional game-related modules";
config.home.games = {
mangohud.enable = mkDefault cfg.fullDesktop;
game-packages.enable = mkDefault cfg.fullDesktop;
};
};
}