diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-31 16:23:05 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-31 16:23:05 +0100 |
| commit | 5c6f5dac44ac25566924f72133c15a70b3b6ba78 (patch) | |
| tree | 3f9ea2d9aec9d452983b2edd8c5317cf73b7d988 /modules/by-name/lu/lutris/module.nix | |
| parent | treewide: Align modules with server directory (diff) | |
| download | nixos-config-5c6f5dac44ac25566924f72133c15a70b3b6ba78.zip | |
modules/backup: Simplify and align with server module
Diffstat (limited to 'modules/by-name/lu/lutris/module.nix')
| -rw-r--r-- | modules/by-name/lu/lutris/module.nix | 5 |
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 = { |
