mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
style: reformat with alejandra
This commit is contained in:
parent
bcd5fd495a
commit
e04f4bbafd
8 changed files with 101 additions and 80 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue