From b822cce916cbf335fb7b8e9a12730d4308db273a Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 15 May 2024 16:56:15 +0200 Subject: [PATCH] Pass `hostname` as home-manager modules arg --- modules/ccr/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ccr/default.nix b/modules/ccr/default.nix index 6966981..68b5c84 100644 --- a/modules/ccr/default.nix +++ b/modules/ccr/default.nix @@ -4,6 +4,7 @@ pkgs, fleetHmModules, fleetFlake, + vpn, ... }: let cfg = config.ccr; @@ -100,6 +101,8 @@ in { _module.args = { inherit (config.age) secrets; inherit (cfg) username; + inherit vpn; + hostname = config.networking.hostName; }; } ]