mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
treewide: fix statix errors
This commit is contained in:
parent
a4b8c2b8da
commit
743d7eead9
48 changed files with 72 additions and 82 deletions
|
@ -42,7 +42,7 @@ in
|
|||
default = false;
|
||||
};
|
||||
OnFailureMail = mkOption {
|
||||
type = types.nullOr (types.str);
|
||||
type = types.nullOr types.str;
|
||||
description = lib.mdDoc "Mail address where to send the error report";
|
||||
default = null;
|
||||
example = "alarm@mail.com";
|
||||
|
@ -122,7 +122,7 @@ in
|
|||
environment.BORG_RSH = "ssh -o 'StrictHostKeyChecking=no' -i ${cfg.sshKeyFile} -p ${toString cfg.sshPort}";
|
||||
repo = "${cfg.sshUser}@${cfg.sshHost}:${config.networking.hostName}/";
|
||||
|
||||
doInit = cfg.doInit;
|
||||
inherit (cfg) doInit;
|
||||
compression = "auto,zstd";
|
||||
|
||||
postHook = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue