Apply shell-check fixes
This commit is contained in:
parent
ac265706dd
commit
cbcae30c12
1 changed files with 9 additions and 5 deletions
|
@ -58,7 +58,7 @@ let
|
|||
path = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The path to mount the remote file system to.";
|
||||
default = "$HOME/.mnt/${lib.escapeShellArg name}";
|
||||
default = ''"$HOME"/.mnt/${lib.escapeShellArg name}'';
|
||||
};
|
||||
|
||||
autoStart = lib.mkOption {
|
||||
|
@ -148,10 +148,14 @@ let
|
|||
|
||||
config = {
|
||||
secretsScript = lib.strings.concatLines
|
||||
(builtins.concatLists
|
||||
(builtins.attrValues (
|
||||
builtins.mapAttrs
|
||||
(name: path: "export ${name}=\"$(cat ${lib.escapeShellArg path})\"")
|
||||
config.secrets));
|
||||
(name: path: [
|
||||
"${name}=\"$(cat ${lib.escapeShellArg path})\""
|
||||
"export ${name}"
|
||||
])
|
||||
config.secrets)));
|
||||
|
||||
args = config.extraArgs ++ (
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue