docs: add IFD FAQ (#246)

* docs: add IFD FAQ

* docs: mirror IFD FAQ to docs

* docs: reword IFD FAQ to those ports

* chore: update IFD list

* chore: remove dunst from IFD list

The IFD from dunst was removed in #302

* docs: FAQ IFD apply suggestions

* docs: FAQ IFD add spotify-player

* docs: cleanup IFD module code example

Seems spotify-player doesn't required IFD either as it's source is from
a builtin

---------

Co-authored-by: seth <getchoo@tuta.io>
This commit is contained in:
vdbe 2024-08-23 12:20:38 +00:00 committed by GitHub
parent 3e844a65a4
commit fd0902e67a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View file

@ -173,6 +173,29 @@ For [standalone installations](https://nix-community.github.io/home-manager/inde
A: We primarily support the `unstable` branch, but try our best to support the current stable release.
You can check if your stable release is currently supported at [status.nixos.org](https://status.nixos.org/)
- Q: **"How do I fix the error: ... during evaluation because the option 'allow-import-from-derivation' is disabled"**\
A: Some ports need to read and/or manipulate remote resources, resulting in Nix performing [IFD](https://nix.dev/manual/nix/latest/language/import-from-derivation).
<details>
<summary>Disable modules that use IFD</summary>
```nix
{
programs = {
cava.catppuccin.enable = false;
gh-dash.catppuccin.enable = false;
imv.catppuccin.enable = false;
kitty.catppuccin.enable = false; # IFD is introduced by home-manager
swaylock.catppuccin.enable = false;
};
services = {
mako.catppuccin.enable = false;
};
}
```
</details>
## 💝 Thanks to
- [Stonks3141](https://github.com/Stonks3141)

View file

@ -10,3 +10,26 @@
- Q: **"What versions of NixOS and home-manager are supported?"**\
A: We primarily support the `unstable` branch, but try our best to support the current stable release.
You can check if your stable release is currently supported at [status.nixos.org](https://status.nixos.org/)
- Q: **"How do I fix the error: ... during evaluation because the option 'allow-import-from-derivation' is disabled"**\
A: Some ports need to read and/or manipulate remote resources, resulting in Nix performing [IFD](https://nix.dev/manual/nix/latest/language/import-from-derivation).
<details>
<summary>Disable modules that use IFD</summary>
```nix
{
programs = {
cava.catppuccin.enable = false;
gh-dash.catppuccin.enable = false;
imv.catppuccin.enable = false;
kitty.catppuccin.enable = false; # IFD is introduced by home-manager
swaylock.catppuccin.enable = false;
};
services = {
mako.catppuccin.enable = false;
};
}
```
</details>