Avoid unfree in local dev environment

This commit is contained in:
Greg Hellings
2024-10-10 13:01:37 -05:00
parent eebeb3ca6d
commit 6803ec0e6d
4 changed files with 16 additions and 6 deletions
+11 -1
View File
@@ -1,4 +1,14 @@
{ self', pkgs, nixvimunstable, ... }:
let
system = pkgs.system;
vim = (nixvimunstable.legacyPackages.${system}.makeNixvim
(import ./home/modules/baseline/vim/config.nix {
inherit pkgs;
inherit (pkgs) lib;
config.nixpkgs.config.allowUnfree = false; # I have tried to allow it, but I don't seem able to do so
})
);
in
{
default = pkgs.mkShell {
inherit (self'.checks.pre-commit-check) shellHook;
@@ -10,7 +20,7 @@
gzip
inject
inject-darwin
(nixvimunstable.legacyPackages.${system}.makeNixvim (import ./home/modules/baseline/vim/config.nix { inherit pkgs; inherit (pkgs) lib; }))
vim
self'.checks.pre-commit-check.enabledPackages
tmux
xonsh