feat: tf2.nix
This commit is contained in:
@@ -7,6 +7,10 @@ in {
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Steam is quite buggy and doesn't play too nicely with Impermanence:
|
||||
# 1. We must use symlinks, rather than bind-mounts.
|
||||
# 2. The symlinks *must not be present* during Steam's first launch
|
||||
# (i.e. when it installs itself). Horrible bugs ensue.
|
||||
sydnix.impermanence.directories = [
|
||||
# Steam has a number of mysterious issues when its state directories are
|
||||
# symlinks. Most bizarrely, I've experienced complementory issues;
|
||||
@@ -14,6 +18,7 @@ in {
|
||||
# symlinks. Thanks, Valve!
|
||||
#
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/10552
|
||||
# https://github.com/nix-community/impermanence/issues/165
|
||||
{ directory = ".local/share/Steam"; method = "symlink"; }
|
||||
{ directory = ".steam"; method = "symlink"; }
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user