summaryrefslogtreecommitdiffstats
path: root/modules/by-name/lu
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-31 16:23:05 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-31 16:23:05 +0100
commit5c6f5dac44ac25566924f72133c15a70b3b6ba78 (patch)
tree3f9ea2d9aec9d452983b2edd8c5317cf73b7d988 /modules/by-name/lu
parenttreewide: Align modules with server directory (diff)
downloadnixos-config-5c6f5dac44ac25566924f72133c15a70b3b6ba78.zip
modules/backup: Simplify and align with server module
Diffstat (limited to 'modules/by-name/lu')
-rw-r--r--modules/by-name/lu/lutris/module.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/by-name/lu/lutris/module.nix b/modules/by-name/lu/lutris/module.nix
index eabc11fb..6864bacb 100644
--- a/modules/by-name/lu/lutris/module.nix
+++ b/modules/by-name/lu/lutris/module.nix
@@ -15,6 +15,8 @@
...
}: let
cfg = config.soispha.programs.lutris;
+
+ inherit (config.home-manager.users.soispha.home) homeDirectory;
in {
options.soispha.programs.lutris = {
enable = libraries.base.options.mkEnable "Lutris";
@@ -27,6 +29,9 @@ in {
soispha.services.unison.pathsToSync = [
"~/.config/lutris"
];
+ vhack.services.backup.exclude = [
+ "${homeDirectory}/.local/share/lutris/install"
+ ];
# TODO: This should also have something, to avoid giving the games network access: 'https://github.com/lutris/docs/blob/master/DisableNetworkAccess.md' <2026-07-10>
home-manager.users.soispha = {