persist: remove the nosuid flag since gocryptfs cant parse it here
This commit is contained in:
parent
f54d5a68ff
commit
910d0fa59e
|
@ -22,8 +22,8 @@ lib.mkIf config.sane.persist.enable
|
||||||
fsType = "fuse.gocryptfs";
|
fsType = "fuse.gocryptfs";
|
||||||
options = [
|
options = [
|
||||||
"nodev"
|
"nodev"
|
||||||
"nosuid"
|
# "nosuid" # "Unknown parameter 'nosuid'". gocryptfs requires this be passed as `-ko nosuid` (also, nosuid is default)
|
||||||
"allow_other"
|
"allow_other" # root ends up being the user that mounts this, so need to make it visible to other users.
|
||||||
"passfile=${key}"
|
"passfile=${key}"
|
||||||
# "defaults" # "unknown flag: --defaults. Try 'gocryptfs -help'"
|
# "defaults" # "unknown flag: --defaults. Try 'gocryptfs -help'"
|
||||||
];
|
];
|
||||||
|
|
|
@ -31,10 +31,11 @@ lib.mkIf config.sane.persist.enable
|
||||||
options = [
|
options = [
|
||||||
"noauto" # don't try to mount, until the user logs in!
|
"noauto" # don't try to mount, until the user logs in!
|
||||||
"nofail"
|
"nofail"
|
||||||
"allow_other" # root ends up being the user that mounts this, so need to make it visible to other users.
|
|
||||||
"nodev"
|
"nodev"
|
||||||
"nosuid"
|
# "noexec" # handful of scripts in ~/private/knowledge that are executable
|
||||||
"quiet"
|
# "nosuid" # "Unknown parameter 'nosuid'". gocryptfs requires this be passed as `-ko nosuid` (also nosuid is default)
|
||||||
|
"allow_other" # root ends up being the user that mounts this, so need to make it visible to other users.
|
||||||
|
# "quiet"
|
||||||
# "defaults" # "unknown flag: --defaults. Try 'gocryptfs -help'"
|
# "defaults" # "unknown flag: --defaults. Try 'gocryptfs -help'"
|
||||||
];
|
];
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user