thelio76: home mounts

This commit is contained in:
Alex 2024-07-30 11:11:06 -04:00
parent 942b91f428
commit 73be6537dd
2 changed files with 14 additions and 21 deletions

View File

@ -54,41 +54,42 @@
externalPrefix = {
device = "/dev/mapper/externaldrive";
options = [ "x-gvfs-show" ];
};
"${homePrefix}/Documents" = {
device = "${externalPrefix}/Documents";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Games" = {
device = "${externalPrefix}/Games";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Git" = {
device = "${externalPrefix}/Git";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Lutris" = {
device = "${externalPrefix}/Lutris";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Music" = {
device = "${externalPrefix}/Music";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Pictures" = {
device = "${externalPrefix}/Pictures";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Videos" = {
device = "${externalPrefix}/Videos";
options = [ "bind" ];
options = [ "bind" "x-gvfs-hide" ];
};
};

View File

@ -55,9 +55,8 @@
};
"/media/external" = {
# device = "/dev/disk/by-uuid/5057a0e6-649f-487f-a17c-11e379f9af19";
device = "/dev/mapper/luks-9870176e-53f3-493e-94d8-560994fa8f35";
# fsType = "auto";
options = [ "x-gvfs-show" ];
};
"${homePrefix}/Documents" = {
@ -65,28 +64,21 @@
options = [ "bind" "x-gvfs-hide" ];
};
"/home/alex/Games" = {
# depends = [ "/run/media/alex/External" ];
"${homePrefix}/Games" = {
device = "${externalPrefix}/Games";
# fsType = "none";
options = [ "bind" "x-gvfs-hide" ];
};
#"${homePrefix}/Git" = {
# device = "${externalPrefix}/Git";
# options = [ "bind" ];
#};
"${homePrefix}/Git" = {
device = "${externalPrefix}/Git";
options = [ "bind" "x-gvfs-hide" ];
};
"${homePrefix}/Lutris" = {
device = "${externalPrefix}/Lutris";
options = [ "bind" "x-gvfs-hide" ];
};
# "${homePrefix}/Music" = {
# device = "${externalPrefix}/Music";
# options = [ "bind" "x-gvfs-hide" ];
# };
"${homePrefix}/Pictures" = {
device = "${externalPrefix}/Pictures";
options = [ "bind" "x-gvfs-hide" ];