refactor(gaming): move home-managed config into home manager module
check / lint (push) Successful in 14s

This commit is contained in:
2026-08-23 00:34:32 +02:00
parent e2301c7682
commit 34205bf384
3 changed files with 16 additions and 6 deletions
+15
View File
@@ -0,0 +1,15 @@
{
config,
lib,
...
}:
{
options.gaming.enable = lib.mkEnableOption "gaming";
config = lib.mkIf config.gaming.enable {
xdg.configFile."lutris/system.yml".text = lib.generators.toJSON { } {
system.game_path = "${config.home.homeDirectory}/games";
};
};
}