facter: move hardware config to mysecrets
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@ -933,11 +933,11 @@
|
|||||||
"mysecrets": {
|
"mysecrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744732372,
|
"lastModified": 1746272728,
|
||||||
"narHash": "sha256-CDfvyxx4kayY6J4sOdiupR6Ll1PuPXBUmIHsoSDrmkQ=",
|
"narHash": "sha256-BXdWOgWHThzyzpkNFN3E8yG/rymO0jPIKfHLkQsoC+g=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "fe1f6fb7a06d9e7c51cf34493f08d707007070d9",
|
"rev": "662d9ed1971b5cf65ac1bc5a595629cb95c34570",
|
||||||
"revCount": 18,
|
"revCount": 21,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://gitea@gitea.linerds.us/unexplrd/nix-secrets"
|
"url": "ssh://gitea@gitea.linerds.us/unexplrd/nix-secrets"
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
{inputs, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (inputs) mysecrets;
|
||||||
|
inherit (config.networking) hostName;
|
||||||
|
in {
|
||||||
imports = with inputs; [
|
imports = with inputs; [
|
||||||
nixos-facter-modules.nixosModules.facter
|
nixos-facter-modules.nixosModules.facter
|
||||||
];
|
];
|
||||||
facter.reportPath = ./facter.json;
|
facter.reportPath = "${mysecrets}/facter/${hostName}.json";
|
||||||
systemd.network.wait-online.enable = false;
|
systemd.network.wait-online.enable = false;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user