style: reformat with alejandra

This commit is contained in:
Kat Inskip 2023-01-17 15:51:05 -05:00
parent bcd5fd495a
commit e04f4bbafd
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
8 changed files with 101 additions and 80 deletions

View file

@ -1,7 +1,12 @@
{tree,lib,...}: let
{
tree,
lib,
...
}: let
inherit (lib.attrsets) mapAttrs;
wrapImports = imports: mapAttrs
(_: paths: { config, ... }: {
wrapImports = imports:
mapAttrs
(_: paths: {config, ...}: {
config.home-manager.users.kat = {
imports = lib.singleton paths;
};
@ -9,19 +14,19 @@
imports;
dirImports = wrapImports tree.prev;
in
tree.prev
// {
common = {
imports = with tree.prev; [
base16
shell
neovim
];
};
work = {
imports = with dirImports; [
wezterm
gpg
];
};
}
tree.prev
// {
common = {
imports = with tree.prev; [
base16
shell
neovim
];
};
work = {
imports = with dirImports; [
wezterm
gpg
];
};
}