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
+1
View File
@@ -31,6 +31,7 @@
browser.enable = true; browser.enable = true;
browser.primary = "librewolf"; browser.primary = "librewolf";
cloud.hetzner.enable = true; cloud.hetzner.enable = true;
gaming.enable = true;
comms.signal.enable = true; comms.signal.enable = true;
git.enable = true; git.enable = true;
git.github.enable = true; git.github.enable = true;
+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";
};
};
}
-6
View File
@@ -38,12 +38,6 @@ in
mangohud mangohud
]; ];
home-manager.users.${config.host.username} = {
xdg.configFile."lutris/system.yml".text = lib.generators.toJSON { } {
system.game_path = "/home/${config.host.username}/games";
};
};
security.pam.loginLimits = [ security.pam.loginLimits = [
{ {
domain = config.host.username; domain = config.host.username;