make lib wrapper a single arg function
parent
e1de2cc440
commit
0a0fb77cc0
|
@ -32,7 +32,7 @@
|
||||||
{
|
{
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
let
|
let
|
||||||
lib = import ./lib { inherit (nixpkgs) lib; };
|
lib = import ./lib nixpkgs.lib;
|
||||||
|
|
||||||
toPartialNixosConfig =
|
toPartialNixosConfig =
|
||||||
{ hostname, system }:
|
{ hostname, system }:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, ... }:
|
lib:
|
||||||
with lib;
|
with lib;
|
||||||
rec {
|
rec {
|
||||||
# Ternary operator
|
# Ternary operator
|
||||||
|
|
Loading…
Reference in New Issue