mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Rename the namespace of the system-modules
This commit is contained in:
parent
61f32cb7ea
commit
06623cd93a
34 changed files with 162 additions and 153 deletions
|
|
@ -5,16 +5,16 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.myConfig.nextcloud;
|
||||
cfg = config.custom.services.nextcloud;
|
||||
|
||||
dataDir = config.services.nextcloud.home;
|
||||
user = config.users.users.nextcloud.name;
|
||||
in
|
||||
{
|
||||
options.myConfig.nextcloud.backups.enable = lib.mkEnableOption "";
|
||||
options.custom.services.nextcloud.backups.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf cfg.backups.enable {
|
||||
myConfig.resticBackup.nextcloud = {
|
||||
custom.services.resticBackup.nextcloud = {
|
||||
inherit user;
|
||||
healthchecks.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue