feat: volume mounts and permission changes for runescape
This commit is contained in:
parent
4944f2ba36
commit
65cd00e053
3 changed files with 25 additions and 2 deletions
18
nixos/osrs.nix
Normal file
18
nixos/osrs.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
let
|
||||
boltLauncherRuneliteDir = "/home/evar/.var/app/com.adamcake.Bolt/data/bolt-launcher/.runelite";
|
||||
sharedRuneliteDir = "/home/evar/Virtio Shared/.runelite";
|
||||
|
||||
mountSharedRuneliteDir = dir: {
|
||||
"${boltLauncherRuneliteDir}/${dir}" = {
|
||||
depends = [ "/home/evar" ];
|
||||
device = "${sharedRuneliteDir}/${dir}";
|
||||
fsType = "none";
|
||||
options = [ "bind" "rwx" ];
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
fileSystems = mountSharedRuneliteDir "loots" //
|
||||
mountSharedRuneliteDir "screenshots" //
|
||||
mountSharedRuneliteDir "supplies-tracker";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue