mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: prepare restic on winters
This commit is contained in:
parent
3e74316245
commit
fc79159732
5 changed files with 28 additions and 5 deletions
|
|
@ -3461,6 +3461,7 @@ I usually use =mutableUsers = false= in my NixOS configuration. However, on a ne
|
|||
options.swarselsystems.server.paperless = lib.mkEnableOption "enable paperless on server";
|
||||
options.swarselsystems.server.transmission = lib.mkEnableOption "enable transmission and friends on server";
|
||||
options.swarselsystems.server.syncthing = lib.mkEnableOption "enable syncthing on server";
|
||||
options.swarselsystems.server.restic = lib.mkEnableOption "enable restic backups on server";
|
||||
options.swarselsystems.server.monitoring = lib.mkEnableOption "enable monitoring on server";
|
||||
}
|
||||
#+end_src
|
||||
|
|
@ -5390,6 +5391,7 @@ Also, the system state version is set here. No need to touch it.
|
|||
./paperless.nix
|
||||
./transmission.nix
|
||||
./syncthing.nix
|
||||
./restic.nix
|
||||
./monitoring.nix
|
||||
];
|
||||
|
||||
|
|
@ -6571,6 +6573,18 @@ Also, the system state version is set here. No need to touch it.
|
|||
}
|
||||
#+end_src
|
||||
|
||||
**** restic
|
||||
|
||||
#+begin_src nix :tangle profiles/server/common/restic.nix
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
config = lib.mkIf config.swarselsystems.server.restic {
|
||||
|
||||
# TODO
|
||||
|
||||
}
|
||||
#+end_src
|
||||
|
||||
**** monitoring
|
||||
|
||||
#+begin_src nix :tangle profiles/server/common/monitoring.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue