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

8
flake.lock generated
View File

@ -933,11 +933,11 @@
"mysecrets": {
"flake": false,
"locked": {
"lastModified": 1744732372,
"narHash": "sha256-CDfvyxx4kayY6J4sOdiupR6Ll1PuPXBUmIHsoSDrmkQ=",
"lastModified": 1746272728,
"narHash": "sha256-BXdWOgWHThzyzpkNFN3E8yG/rymO0jPIKfHLkQsoC+g=",
"ref": "refs/heads/main",
"rev": "fe1f6fb7a06d9e7c51cf34493f08d707007070d9",
"revCount": 18,
"rev": "662d9ed1971b5cf65ac1bc5a595629cb95c34570",
"revCount": 21,
"type": "git",
"url": "ssh://gitea@gitea.linerds.us/unexplrd/nix-secrets"
},

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