facter: move hardware config to mysecrets

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-03 14:45:37 +03:00
parent 86ea201653
commit 83949480c8
3 changed files with 13 additions and 7322 deletions

View File

@ -1,7 +1,14 @@
{inputs, ...}: {
{
config,
inputs,
...
}: let
inherit (inputs) mysecrets;
inherit (config.networking) hostName;
in {
imports = with inputs; [
nixos-facter-modules.nixosModules.facter
];
facter.reportPath = ./facter.json;
facter.reportPath = "${mysecrets}/facter/${hostName}.json";
systemd.network.wait-online.enable = false;
}

File diff suppressed because it is too large Load Diff