Add prismlauncher symlink
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,7 +1,14 @@
|
|||||||
{ user, home }:
|
{ user, home }:
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
hmConfig = config.home-manager.users.${user};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
environment.persistence."/persist/state"."${home}/.local/share/PrismLauncher" = { };
|
environment.persistence."/persist/state"."${home}/.local/share/PrismLauncher" = { };
|
||||||
|
|
||||||
home-manager.users.${user}.home.packages = with pkgs; [ prismlauncher ];
|
home-manager.users.${user}.home = {
|
||||||
|
packages = with pkgs; [ prismlauncher ];
|
||||||
|
file."Games/PrismLauncher".source =
|
||||||
|
hmConfig.lib.file.mkOutOfStoreSymlink "${home}/.local/share/PrismLauncher";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user