mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-13 22:17:49 +00:00
flake: add darwinModule
This commit is contained in:
parent
c1713898c4
commit
996451dbe2
2 changed files with 17 additions and 0 deletions
|
|
@ -13,6 +13,18 @@
|
||||||
|
|
||||||
## Changelog {#sec-release-0-9-changelog}
|
## Changelog {#sec-release-0-9-changelog}
|
||||||
|
|
||||||
|
[taylrfnt](https://github.com/taylrfnt)
|
||||||
|
|
||||||
|
- Introduce a `darwinModule` option for Darwin users. The ergonomics of
|
||||||
|
importing a `nixosModule` into a Darwin flake were less than ideal, and when
|
||||||
|
users fork and update npins, they are prone to encountering errors like the
|
||||||
|
following:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
(class: "nixos") cannot be imported into a module
|
||||||
|
evaluation that expects class "darwin".
|
||||||
|
```
|
||||||
|
|
||||||
[suimong](https://github.com/suimong):
|
[suimong](https://github.com/suimong):
|
||||||
|
|
||||||
- Fix `vim.tabline.nvimBufferline` where `setupOpts.options.hover` requires
|
- Fix `vim.tabline.nvimBufferline` where `setupOpts.options.hover` requires
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,11 @@
|
||||||
''
|
''
|
||||||
self.nixosModules.nvf;
|
self.nixosModules.nvf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
darwinModules = {
|
||||||
|
nvf = import ./flake/modules/nixos.nix {inherit lib inputs;};
|
||||||
|
default = self.darwinModules.nvf;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue