[feat] Fix nvim config mostly

This commit is contained in:
Uttarayan
2024-02-22 01:45:37 +05:30
parent 3622d00200
commit ed82e4eec4
7 changed files with 87 additions and 254 deletions

View File

@@ -1,17 +1,30 @@
{ devices, inputs, overlays, home-manager, ... }:
{
devices,
inputs,
overlays,
home-manager,
...
}:
builtins.listToAttrs (builtins.map (device: {
name = device.user;
value = let
pkgs = import inputs.nixpkgs {
inherit overlays;
system = device.system;
};
in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs;
inherit device;
};
modules = [ ../common/home.nix ];
};
}) devices)
name = device.user;
value = let
pkgs = import inputs.nixpkgs {
inherit overlays;
system = device.system;
};
in
home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit inputs;
inherit device;
};
modules = [
{
nixpkgs.config.allowUnfree = true;
}
../common/home.nix
];
};
})
devices)