started restic rest server
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
|
flake.modules.nixos.restic-server = { config, pkgs, lib, ... }: {
|
||||||
|
services.restic.server = {
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/mnt/restic";
|
||||||
|
listenAddress = "0.0.0.0:8080";
|
||||||
|
extraFlags = [ "--no-auth" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
flake.modules.homeManager.restic = { config, pkgs, lib, ... }:
|
flake.modules.homeManager.restic = { config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.restic;
|
cfg = config.restic;
|
||||||
|
|||||||
Reference in New Issue
Block a user