mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: made maps more readable
This commit is contained in:
parent
0f9bc0aa33
commit
f87d465a2c
2 changed files with 5 additions and 15 deletions
|
@ -7,9 +7,7 @@ let
|
|||
emptySet // importedModules
|
||||
) {} (map
|
||||
(name: {
|
||||
"${name}" =
|
||||
import (modulesPath
|
||||
+ "/${name}");
|
||||
"${name}" = import (modulesPath + "/${name}");
|
||||
})
|
||||
[
|
||||
"bat"
|
||||
|
@ -23,9 +21,7 @@ let
|
|||
emptySet // importedModules
|
||||
) {} (map
|
||||
(name: {
|
||||
"${name}" =
|
||||
import (modulesPath
|
||||
+ "/${name}.nix");
|
||||
"${name}" = import (modulesPath + "/${name}.nix");
|
||||
})
|
||||
[
|
||||
"bottom"
|
||||
|
@ -51,9 +47,7 @@ let
|
|||
emptySet // importedModules
|
||||
) {} (map
|
||||
(name: {
|
||||
"misc-${name}" =
|
||||
import (modulesPath
|
||||
+ "/misc/${name}.nix");
|
||||
"misc-${name}" = import (modulesPath + "/misc/${name}.nix");
|
||||
})
|
||||
[
|
||||
"android"
|
||||
|
|
|
@ -7,9 +7,7 @@ let
|
|||
emptySet // importedModules
|
||||
) {} (map
|
||||
(name: {
|
||||
"${name}" =
|
||||
import (modulesPath
|
||||
+ "/${name}");
|
||||
"${name}" = import (modulesPath + "/${name}");
|
||||
})
|
||||
[
|
||||
"services"
|
||||
|
@ -19,9 +17,7 @@ let
|
|||
emptySet // importedModules
|
||||
) {} (map
|
||||
(name: {
|
||||
"${name}" =
|
||||
import (modulesPath
|
||||
+ "/${name}.nix");
|
||||
"${name}" = import (modulesPath + "/${name}.nix");
|
||||
})
|
||||
[
|
||||
"accounts"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue