mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
24 lines
343 B
Nix
24 lines
343 B
Nix
let
|
|
moduleNames = [
|
|
"laptop"
|
|
"hardware"
|
|
"monitors"
|
|
"input"
|
|
"nixos"
|
|
"darwin"
|
|
"waybar"
|
|
"startup"
|
|
"wallpaper"
|
|
"filesystem"
|
|
"firefox"
|
|
];
|
|
|
|
mkImports = names: builtins.listToAttrs (map
|
|
(name: {
|
|
inherit name;
|
|
value = import ./${name}.nix;
|
|
})
|
|
names);
|
|
|
|
in
|
|
mkImports moduleNames
|