Fix undetected allowUnfree shenanigans
This commit is contained in:
+4
-1
@@ -13,7 +13,10 @@ rec {
|
||||
in
|
||||
top.hmunstable.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix ];
|
||||
modules = [
|
||||
../modules/nix-conf.nix
|
||||
./home.nix
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
inherit top;
|
||||
nixvim = top.nixvimunstable;
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
}:
|
||||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = (_: true);
|
||||
imports = [
|
||||
nixvim.homeManagerModules.default
|
||||
./modules
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../../modules/nix-conf.nix
|
||||
./ansible.nix
|
||||
./bash.nix
|
||||
./direnv.nix
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
vim-xonsh = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "vim-xonsh";
|
||||
@@ -86,10 +86,6 @@ in
|
||||
name = "buffer";
|
||||
group_index = 2;
|
||||
}
|
||||
{
|
||||
name = "copilot-vim";
|
||||
group_index = 2;
|
||||
}
|
||||
{
|
||||
name = "path";
|
||||
gruop_index = 3;
|
||||
@@ -104,10 +100,6 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
copilot-vim = {
|
||||
enable = (config.nixpkgs.config ? "allowUnfree" && config.nixpkgs.config.allowUnfree);
|
||||
settings.workspace_folders = [ "~/src/ivr" ];
|
||||
};
|
||||
direnv.enable = true;
|
||||
gitgutter.enable = true;
|
||||
fugitive.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user