refactor(lib): expose lib to nixos as lib'

This commit is contained in:
Artur Manuel 2025-03-05 18:50:30 +00:00
commit f4770f1908
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
3 changed files with 45 additions and 35 deletions

View file

@ -3,10 +3,10 @@
self,
...
}: let
inherit (self) lib;
inherit (self.lib) mkHosts;
in {
flake = {
nixosConfigurations = builtins.mapAttrs (n: v: lib.mkHost (v // {host = n;})) {
nixosConfigurations = mkHosts {
solterra = {
system = "x86_64-linux";
extraModules = [