nix: fix flakeModule export (don't use importApply)

This commit is contained in:
Primrose 2024-07-13 19:47:49 +02:00
parent 1bb9a4f7e1
commit a8c6796b7a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 8 additions and 16 deletions

View file

@ -1,6 +1,4 @@
localFlake:
{ inputs, ... }:
{ inputs, withSystem, ... }:
let
mkNixOS =
nixosModulesOf: homeModulesOf:
@ -11,7 +9,7 @@ let
extraHomeConfig ? { },
...
}@args:
localFlake.withSystem system (
withSystem system (
{ pkgs, ... }:
let
specialArgs = {
@ -44,7 +42,7 @@ let
extraHomeConfig ? { },
...
}:
localFlake.withSystem system (
withSystem system (
{ pkgs, ... }:
let
specialArgs = {
@ -76,7 +74,7 @@ let
extraHomeConfig ? { },
...
}:
localFlake.withSystem system (
withSystem system (
{ pkgs, ... }:
let
specialArgs = {