refactor: rename nixos.nix to configurations.nix

This commit is contained in:
Mohammad Rafiq 2025-07-06 22:14:17 +08:00
parent c49beb7c57
commit 0ea17b9fd8
No known key found for this signature in database

9
nix/configurations.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, ... }:
let
inherit (cfg.lib) extractConfigurations;
cfg = config.flake;
hosts = cfg.manifest.hosts or { };
in
{
flake.nixosConfigurations = extractConfigurations "nixos/" hosts;
}