summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruakci <uakci@uakci.pl>2022-02-16 14:28:26 +0100
committeruakci <uakci@uakci.pl>2022-02-16 14:28:26 +0100
commit519329b67b1d9f22069318b2798ff7f691894e24 (patch)
tree2ee24f1cdfb8c3924fc592d6e65d2c25dfed9a42
parenthotfix & nixfmt (diff)
downloadnuogai-519329b67b1d9f22069318b2798ff7f691894e24.tar.gz
nuogai-519329b67b1d9f22069318b2798ff7f691894e24.zip
remove ${system} subpath from flake nixosModule
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 87739ce..f63229b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,6 +14,8 @@
, serial-predicate-engine-upstream, flake-utils, ... }:
{
inherit (gomod2nix) devShell;
+ nixosModule = { config, pkgs, lib, ... }@args:
+ import ./module.nix (args // { inherit self; });
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = (import nixpkgs {
@@ -69,7 +71,5 @@
in {
defaultPackage = nuogai;
packages = schemePkgs // { inherit toaqScript nuogai; };
- nixosModule = { config, pkgs, lib, ... }@a:
- import ./module.nix (a // { inherit self system; });
});
}