nix/lib/packages.nix
2025-01-21 11:02:03 -08:00

30 lines
887 B
Nix

{ inputs, system, unfree, repo, ... }: {
# Choose whether to pull from stable or unstable
pkgs = (import inputs.${repo} {
inherit system;
config = {
allowUnfree = unfree;
permittedInsecurePackages = [
"electron-27.3.11" # Logseq
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-7.0.20"
"olm-3.2.16" # Something in hyprland
];
};
hostPlatform = system;
});
# Some packages (ie, Vintage Story) I want to keep on unstable no matter what default repo I use
pkgs-unstable = (import inputs.nixpkgs-unstable {
inherit system;
config = {
allowUnfree = unfree;
permittedInsecurePackages = [
"electron-27.3.11" # Logseq
"dotnet-runtime-wrapped-7.0.20"
"dotnet-runtime-7.0.20"
"olm-3.2.16" # Something in hyprland
];
};
hostPlatform = system;
});
}