From 279ff6251173e161cc50d8ae03cb3cd2e90a61a4 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 3 Jun 2024 18:28:35 +0530 Subject: global: init global contains shared data between home-manager and nixos modules. they're just structured data, it's doesn't contain any module functionally in the normal sense, an example is preferred monospace font or user's mail id `config.global.userdata.email` --- os/fscusat/modules/mirror/debian/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/fscusat') diff --git a/os/fscusat/modules/mirror/debian/default.nix b/os/fscusat/modules/mirror/debian/default.nix index c052bdd..c0a35cd 100644 --- a/os/fscusat/modules/mirror/debian/default.nix +++ b/os/fscusat/modules/mirror/debian/default.nix @@ -1,6 +1,6 @@ { config, ... }: let - name = config.userdata.name; - email = config.userdata.email; + name = config.global.userdata.name; + email = config.global.userdata.email; in { imports = [ ./ftpsync.nix ]; -- cgit v1.2.3