2024-08-13 11:41:19 +02:00
|
|
|
{ inputs, system, unfree, repo, ... }: {
|
|
|
|
# Choose whether to pull from stable or unstable
|
|
|
|
pkgs = (import inputs.${repo} {
|
|
|
|
inherit system;
|
|
|
|
config = {
|
|
|
|
allowUnfree = unfree;
|
2024-08-15 02:26:22 +02:00
|
|
|
permittedInsecurePackages = [
|
2024-09-08 01:09:36 +02:00
|
|
|
"electron-27.3.11" # Logseq
|
|
|
|
"olm-3.2.16" # Unknown
|
2024-08-15 02:26:22 +02:00
|
|
|
];
|
2024-08-13 11:41:19 +02:00
|
|
|
};
|
|
|
|
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;
|
2024-08-15 02:26:22 +02:00
|
|
|
permittedInsecurePackages = [
|
2024-09-08 01:09:36 +02:00
|
|
|
"electron-27.3.11" # Logseq
|
|
|
|
"olm-3.2.16" # Unknown
|
2024-08-15 02:26:22 +02:00
|
|
|
];
|
2024-08-13 11:41:19 +02:00
|
|
|
};
|
|
|
|
hostPlatform = system;
|
|
|
|
});
|
|
|
|
}
|