nix: remove forAllSystems from nixosModule
This causes lnbits.nixosModules.default to exist, rather than lnbits.nixosModules.aarch64-linux.default. The latter was a mistake.
This commit is contained in:
parent
6aa8330dc3
commit
984f06239f
|
@ -32,12 +32,12 @@
|
|||
python = pkgs.python39;
|
||||
};
|
||||
});
|
||||
nixosModules = forAllSystems (system: pkgs: {
|
||||
nixosModules = {
|
||||
default = { pkgs, lib, config, ... }: {
|
||||
imports = [ "${./nix/modules/${projectName}-service.nix}" ];
|
||||
nixpkgs.overlays = [ self.overlays.default ];
|
||||
};
|
||||
});
|
||||
};
|
||||
checks = forAllSystems (system: pkgs:
|
||||
let
|
||||
vmTests = import ./nix/tests {
|
||||
|
|
|
@ -5,7 +5,7 @@ makeTest {
|
|||
environment.systemPackages = [ pkgs.curl ];
|
||||
};
|
||||
lnbits = { ... }: {
|
||||
imports = [ inputs.self.nixosModules.${pkgs.hostPlatform.system}.default ];
|
||||
imports = [ inputs.self.nixosModules.default ];
|
||||
services.lnbits = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user