mirror of
https://github.com/pabloaul/lsfg-vk-flake.git
synced 2025-08-27 19:06:28 -03:00
module.nix: deprecate losslessDLLFile option
This commit is contained in:
parent
955774220f
commit
51fc478dae
2 changed files with 14 additions and 15 deletions
|
@ -3,7 +3,7 @@ Nix flake for using [Lossless Scaling's frame generation on Linux](https://githu
|
||||||
|
|
||||||
>[!IMPORTANT]
|
>[!IMPORTANT]
|
||||||
> You need to have Lossless Scaling installed on Steam!
|
> You need to have Lossless Scaling installed on Steam!
|
||||||
> In case it is not installed on the default Steam drive, you may want to consider setting the environment variable ``LSFG_DLL_PATH=<ABSOLUTE_PATH_TO>/Lossless.dll``
|
> In case it is not installed on the default Steam drive, you may want to consider setting the correct path in the lsfg-vk config.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
### System-wide (NixOS module)
|
### System-wide (NixOS module)
|
||||||
|
@ -31,11 +31,7 @@ outputs = {nixpkgs, lsfg-vk-flake, ...}: {
|
||||||
|
|
||||||
And then you should be able to enable this in your system config using:
|
And then you should be able to enable this in your system config using:
|
||||||
```nix
|
```nix
|
||||||
services.lsfg-vk = {
|
services.lsfg-vk.enable = true;
|
||||||
enable = true;
|
|
||||||
# optional but recommended:
|
|
||||||
losslessDLLFile = "<ABSOLUTE_PATH_TO>/Lossless.dll";
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### User install (manual)
|
### User install (manual)
|
||||||
|
|
21
module.nix
21
module.nix
|
@ -19,15 +19,18 @@ in
|
||||||
default = lsfg-vk;
|
default = lsfg-vk;
|
||||||
};
|
};
|
||||||
|
|
||||||
losslessDLLFile = lib.mkOption {
|
losslessDLLFile =
|
||||||
type = with lib.types; nullOr str;
|
lib.warn "losslessDLLFile is deprecated and will only be used by lsfg-vk if LSFG_LEGACY is set."
|
||||||
default = null;
|
lib.mkOption
|
||||||
example = "/home/user/games/Lossless Scaling/Lossless.dll";
|
{
|
||||||
description = ''
|
type = with lib.types; nullOr str;
|
||||||
Sets the LSFG_DLL_PATH environment variable.
|
default = null;
|
||||||
Required if Lossless Scaling isn't installed in a standard location
|
example = "/home/user/games/Lossless Scaling/Lossless.dll";
|
||||||
'';
|
description = ''
|
||||||
};
|
Sets the LSFG_DLL_PATH environment variable.
|
||||||
|
Required if Lossless Scaling isn't installed in a standard location
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue