diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 18:28:35 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-06-03 18:39:43 +0530 |
commit | 279ff6251173e161cc50d8ae03cb3cd2e90a61a4 (patch) | |
tree | 971260447397a872be4b051b55864b482acc4a57 /os/cez | |
parent | 4311eaf183976752acdf5624ea68516cac6f0d94 (diff) |
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`
Diffstat (limited to 'os/cez')
-rw-r--r-- | os/cez/configuration.nix | 2 | ||||
-rw-r--r-- | os/cez/modules/getty.nix | 2 | ||||
-rw-r--r-- | os/cez/modules/sshfs.nix | 4 | ||||
-rw-r--r-- | os/cez/modules/wayland.nix | 2 | ||||
-rw-r--r-- | os/cez/modules/wireguard.nix | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/os/cez/configuration.nix b/os/cez/configuration.nix index 00e755a..c7f865d 100644 --- a/os/cez/configuration.nix +++ b/os/cez/configuration.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - user = config.userdata.name; + user = config.global.userdata.name; in { imports = [ diff --git a/os/cez/modules/getty.nix b/os/cez/modules/getty.nix index 725eb4b..8c7f57e 100644 --- a/os/cez/modules/getty.nix +++ b/os/cez/modules/getty.nix @@ -1,5 +1,5 @@ { config, ... }: let - user = config.userdata.name; + user = config.global.userdata.name; in { systemd.services."getty@".serviceConfig.TTYVTDisallocate = "no"; diff --git a/os/cez/modules/sshfs.nix b/os/cez/modules/sshfs.nix index 2431b96..5fdbeaf 100644 --- a/os/cez/modules/sshfs.nix +++ b/os/cez/modules/sshfs.nix @@ -1,8 +1,8 @@ { config, pkgs, ... }: let - domain = config.userdata.domain; - user = config.userdata.name; + domain = config.global.userdata.domain; + user = config.global.userdata.name; uid = config.users.users.${user}.uid; gid = config.users.groups.users.gid; in diff --git a/os/cez/modules/wayland.nix b/os/cez/modules/wayland.nix index 1ce04cf..b6499b7 100644 --- a/os/cez/modules/wayland.nix +++ b/os/cez/modules/wayland.nix @@ -1,5 +1,5 @@ { config, pkgs, ... }: let - user = config.userdata.name; + user = config.global.userdata.name; in { # pkgs environment.systemPackages = with pkgs; [ diff --git a/os/cez/modules/wireguard.nix b/os/cez/modules/wireguard.nix index d8e8dd0..706751c 100644 --- a/os/cez/modules/wireguard.nix +++ b/os/cez/modules/wireguard.nix @@ -1,7 +1,7 @@ { config, ... }: let - domain = config.userdata.domain; + domain = config.global.userdata.domain; in { sops.secrets."misc/wireguard" = {}; |