nixos/aristotle: disallow aliases

This commit is contained in:
Guanran Wang 2024-06-13 01:44:23 +08:00
parent 1403595ae1
commit ee4adecd45
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
3 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,7 @@
enabled = "fcitx5";
fcitx5.addons =
(with pkgs; [
fcitx5-chinese-addons
libsForQt5.fcitx5-chinese-addons
fcitx5-tokyonight
])
++ (with inputs.berberman.packages.${pkgs.stdenv.hostPlatform.system}; [

View file

@ -1,5 +1,7 @@
{lib, ...}: {
nixpkgs.config = {
allowAliases = false;
allowNonSource = false;
allowNonSourcePredicate = pkg:
builtins.elem (lib.getName pkg) [

View file

@ -1,7 +1,6 @@
{
pkgs,
inputs,
config,
...
}: {
imports = [