Pass hostname
as home-manager modules arg
This commit is contained in:
parent
93540ebbea
commit
b822cce916
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue