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,
|
pkgs,
|
||||||
fleetHmModules,
|
fleetHmModules,
|
||||||
fleetFlake,
|
fleetFlake,
|
||||||
|
vpn,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.ccr;
|
cfg = config.ccr;
|
||||||
|
@ -100,6 +101,8 @@ in {
|
||||||
_module.args = {
|
_module.args = {
|
||||||
inherit (config.age) secrets;
|
inherit (config.age) secrets;
|
||||||
inherit (cfg) username;
|
inherit (cfg) username;
|
||||||
|
inherit vpn;
|
||||||
|
hostname = config.networking.hostName;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue