[HACK] Apply panel overlay in the whole flake

This is to circumvent the fact that I cannot do `nixpkgs.overlay` in the
node in the NixOS test. Probably we can still apply it somewhat locally,
but I couldn't think of a good solution.
This commit is contained in:
Nicolas Jeannerod 2025-06-04 15:23:20 +02:00
parent 9bb650a53d
commit 7ef0acadb3
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
2 changed files with 6 additions and 2 deletions

View file

@ -32,6 +32,7 @@
perSystem =
{
pkgs,
system,
lib,
inputs',
...
@ -39,6 +40,11 @@
{
formatter = pkgs.nixfmt-rfc-style;
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [ (import ./panel/nix/overlay.nix) ];
};
pre-commit.settings.hooks =
let
## Add a directory here if pre-commit hooks shouldn't apply to it.

View file

@ -136,8 +136,6 @@ in
};
config = mkIf cfg.enable {
nixpkgs.overlays = [ (import ./overlay.nix) ];
environment.systemPackages = [ manage-admin ];
services = {