refactor(lib): expose lib to nixos as lib'
This commit is contained in:
parent
4e2ae9fdfd
commit
f4770f1908
3 changed files with 45 additions and 35 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue