mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: format with alejandra
This commit is contained in:
parent
d5cad148da
commit
95eb4b71e0
118 changed files with 1291 additions and 1703 deletions
|
|
@ -1,30 +1,24 @@
|
|||
{
|
||||
self,
|
||||
...
|
||||
}@inputs:
|
||||
|
||||
let
|
||||
inherit (self.lib)
|
||||
{self, ...} @ inputs: let
|
||||
inherit
|
||||
(self.lib)
|
||||
modulesFromDir
|
||||
mergeAttrsWith
|
||||
;
|
||||
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
in
|
||||
|
||||
let
|
||||
in let
|
||||
common =
|
||||
mergeAttrsWith
|
||||
(x: y: {
|
||||
imports = [
|
||||
x
|
||||
y
|
||||
];
|
||||
})
|
||||
(modulesFromDir ./common)
|
||||
{
|
||||
wired = inputs.wired-notify.homeManagerModules.default;
|
||||
};
|
||||
(x: y: {
|
||||
imports = [
|
||||
x
|
||||
y
|
||||
];
|
||||
})
|
||||
(modulesFromDir ./common)
|
||||
{
|
||||
wired = inputs.wired-notify.homeManagerModules.default;
|
||||
};
|
||||
|
||||
extra = modulesFromDir ./extra;
|
||||
|
||||
|
|
@ -36,13 +30,12 @@ let
|
|||
];
|
||||
}) (modulesFromDir ./named);
|
||||
in
|
||||
|
||||
lib.mergeAttrsList [
|
||||
{
|
||||
commonModules.imports = lib.attrValues common;
|
||||
extraModules.imports = lib.attrValues extra;
|
||||
}
|
||||
common
|
||||
extra
|
||||
named
|
||||
]
|
||||
lib.mergeAttrsList [
|
||||
{
|
||||
commonModules.imports = lib.attrValues common;
|
||||
extraModules.imports = lib.attrValues extra;
|
||||
}
|
||||
common
|
||||
extra
|
||||
named
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue