feat: volume mounts and permission changes for runescape

This commit is contained in:
Evar 2025-03-11 22:06:24 -04:00
parent 4944f2ba36
commit 65cd00e053
3 changed files with 25 additions and 2 deletions

View file

@ -27,6 +27,8 @@
./vm.nix
(import ./kvmfr.nix { std = inputs.nix-std.lib; lib = lib; pkgs = pkgs; config = config; })
./libvirtd.nix
./osrs.nix
];
# So that I can get to the netgear router
@ -184,8 +186,6 @@
### System software
environment.systemPackages = [
pkgs.bolt-launcher
pkgs.git
pkgs.gdu

18
nixos/osrs.nix Normal file
View 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";
}

View file

@ -227,6 +227,11 @@ in {
"valid users" = "evar";
# POSIX ACE entry maps to Full Control ACL in windows
"acl map full control" = "yes";
"force create mode" = 0777;
"read only" = "no";
"public" = "no";
"guest ok" = "no";