chore: Fix usage of argument not present in container

nix-config must be used when referencing flake inputs to make it
possible to use the same module inside containers.
This commit is contained in:
Donovan Glover 2024-04-06 12:27:08 -04:00
parent 0033dfceb0
commit a7821f7027
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,4 +1,4 @@
{ nix-config, sakaya, pkgs, config, lib, ... }:
{ nix-config, pkgs, config, lib, ... }:
let
inherit (lib) mkEnableOption mkIf mkMerge;
@ -82,7 +82,7 @@ in
environment.systemPackages = mkMerge [
(mkIf japanese (attrValues {
inherit (pkgs) anki kanjidraw;
inherit (sakaya.packages.${pkgs.system}) sakaya;
inherit (nix-config.inputs.sakaya.packages.${pkgs.system}) sakaya;
}))
(mkIf bloat (attrValues {