mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-23 22:28:36 +01:00
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:
parent
0033dfceb0
commit
a7821f7027
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user