mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
Refactor template: extract scripts, overlays, and hosts into separate modules
Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
parent
5e8f07c560
commit
3398a72241
17 changed files with 1185 additions and 422 deletions
8
templates/rde/hosts/default.nix
Normal file
8
templates/rde/hosts/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Merges all host configurations from separate modules
|
||||
config: pkgs: let
|
||||
pythonHosts = import ./python.nix config pkgs;
|
||||
juliaHosts = import ./julia.nix config pkgs;
|
||||
rHosts = import ./r.nix config pkgs;
|
||||
utilsHosts = import ./utils.nix config pkgs;
|
||||
in
|
||||
pythonHosts // juliaHosts // rHosts // utilsHosts
|
||||
Loading…
Add table
Add a link
Reference in a new issue