[feat] Nixfmt all

This commit is contained in:
uttarayan21
2024-03-01 01:52:23 +05:30
parent 50cd5e549b
commit d26ef52267
10 changed files with 213 additions and 238 deletions

View File

@@ -1,30 +1,17 @@
{
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 = [
{
nixpkgs.config.allowUnfree = true;
}
../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)