Skip to content

Commit 0b5b24f

Browse files
committed
chore: fix unfree
1 parent a3ac243 commit 0b5b24f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

config/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
./telescope.nix
1515
./toggle-term.nix
1616
];
17+
1718
config = {
1819
extraPlugins = [
1920
pkgs.vimPlugins.nightfox-nvim

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
outputs = {
1111
nixvim,
1212
flake-parts,
13+
nixpkgs,
1314
...
1415
} @ inputs:
1516
flake-parts.lib.mkFlake {inherit inputs;} {
@@ -37,6 +38,11 @@
3738
};
3839
nvim = nixvim'.makeNixvimWithModule nixvimModule;
3940
in {
41+
42+
_module.args.pkgs = import nixpkgs {
43+
inherit system;
44+
config.allowUnfree = true;
45+
};
4046
checks = {
4147
# Run `nix flake check .` to verify that your config is not broken
4248
default = nixvimLib.check.mkTestDerivationFromNixvimModule nixvimModule;

0 commit comments

Comments
 (0)