forked from Fediversity/Fediversity
[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:
parent
9bb650a53d
commit
7ef0acadb3
2 changed files with 6 additions and 2 deletions
|
@ -32,6 +32,7 @@
|
||||||
perSystem =
|
perSystem =
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
system,
|
||||||
lib,
|
lib,
|
||||||
inputs',
|
inputs',
|
||||||
...
|
...
|
||||||
|
@ -39,6 +40,11 @@
|
||||||
{
|
{
|
||||||
formatter = pkgs.nixfmt-rfc-style;
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
|
|
||||||
|
_module.args.pkgs = import inputs.nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [ (import ./panel/nix/overlay.nix) ];
|
||||||
|
};
|
||||||
|
|
||||||
pre-commit.settings.hooks =
|
pre-commit.settings.hooks =
|
||||||
let
|
let
|
||||||
## Add a directory here if pre-commit hooks shouldn't apply to it.
|
## Add a directory here if pre-commit hooks shouldn't apply to it.
|
||||||
|
|
|
@ -136,8 +136,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
|
||||||
|
|
||||||
environment.systemPackages = [ manage-admin ];
|
environment.systemPackages = [ manage-admin ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue