Fix undetected allowUnfree shenanigans

This commit is contained in:
Greg Hellings
2025-02-04 08:21:58 -06:00
parent 4d39514d80
commit a2c7890c4d
4 changed files with 5 additions and 12 deletions
+4 -1
View File
@@ -13,7 +13,10 @@ rec {
in in
top.hmunstable.lib.homeManagerConfiguration { top.hmunstable.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [ ./home.nix ]; modules = [
../modules/nix-conf.nix
./home.nix
];
extraSpecialArgs = { extraSpecialArgs = {
inherit top; inherit top;
nixvim = top.nixvimunstable; nixvim = top.nixvimunstable;
-1
View File
@@ -7,7 +7,6 @@
}: }:
{ {
nixpkgs.config.allowUnfreePredicate = (_: true);
imports = [ imports = [
nixvim.homeManagerModules.default nixvim.homeManagerModules.default
./modules ./modules
-1
View File
@@ -2,7 +2,6 @@
{ {
imports = [ imports = [
../../../modules/nix-conf.nix
./ansible.nix ./ansible.nix
./bash.nix ./bash.nix
./direnv.nix ./direnv.nix
+1 -9
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
let let
vim-xonsh = pkgs.vimUtils.buildVimPlugin { vim-xonsh = pkgs.vimUtils.buildVimPlugin {
name = "vim-xonsh"; name = "vim-xonsh";
@@ -86,10 +86,6 @@ in
name = "buffer"; name = "buffer";
group_index = 2; group_index = 2;
} }
{
name = "copilot-vim";
group_index = 2;
}
{ {
name = "path"; name = "path";
gruop_index = 3; 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; direnv.enable = true;
gitgutter.enable = true; gitgutter.enable = true;
fugitive.enable = true; fugitive.enable = true;