18 lines
321 B
Nix
18 lines
321 B
Nix
{ pkgs, home-manager-module, ... }:
|
|
|
|
let
|
|
initialize = import ../../initialize.nix;
|
|
|
|
host-config = ip: hostname:
|
|
{ ... }: {
|
|
imports = [
|
|
(initialize {
|
|
inherit hostname home-manager-module pkgs;
|
|
})
|
|
];
|
|
|
|
deployment.targetHost = ip;
|
|
};
|
|
|
|
in { host-config = host-config; }
|