flake: reformat with nixfmt
This commit is contained in:
parent
a79e641851
commit
eaf4f56ac0
117 changed files with 2667 additions and 1592 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.our;
|
||||
let
|
||||
|
@ -88,4 +93,3 @@ in
|
|||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.ssh-tunnel;
|
||||
|
@ -50,11 +55,13 @@ in
|
|||
local = mkParams "-L" cfg.forwards.local;
|
||||
remote = mkParams "-R" cfg.forwards.remote;
|
||||
|
||||
options = mkParams "-o" (mapAttrsToList (n: v: "${n}=${toString v}") {
|
||||
ServerAliveInterval = 60;
|
||||
ExitOnForwardFailure = "yes";
|
||||
KbdInteractiveAuthentication = "no";
|
||||
});
|
||||
options = mkParams "-o" (
|
||||
mapAttrsToList (n: v: "${n}=${toString v}") {
|
||||
ServerAliveInterval = 60;
|
||||
ExitOnForwardFailure = "yes";
|
||||
KbdInteractiveAuthentication = "no";
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
script = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue