mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 10:35:13 -05:00
feat: server test
This commit is contained in:
parent
e643e105a2
commit
0439073fbd
1 changed files with 16 additions and 13 deletions
|
@ -15,7 +15,10 @@ let
|
||||||
);
|
);
|
||||||
modules =
|
modules =
|
||||||
moduleImport modulesPath (name: builtins.replaceStrings [".nix"] [""] name)
|
moduleImport modulesPath (name: builtins.replaceStrings [".nix"] [""] name)
|
||||||
// (path:
|
// (
|
||||||
|
let
|
||||||
|
path = modulesPath;
|
||||||
|
in
|
||||||
builtins.listToAttrs (
|
builtins.listToAttrs (
|
||||||
map
|
map
|
||||||
(name: {
|
(name: {
|
||||||
|
@ -27,8 +30,8 @@ let
|
||||||
(name: (builtins.readDir path).${name} == "directory")
|
(name: (builtins.readDir path).${name} == "directory")
|
||||||
(builtins.attrNames (builtins.readDir path))
|
(builtins.attrNames (builtins.readDir path))
|
||||||
)
|
)
|
||||||
))
|
)
|
||||||
modulesPath;
|
);
|
||||||
in {
|
in {
|
||||||
flake.nixosModules = {
|
flake.nixosModules = {
|
||||||
personal = {
|
personal = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue