2022-02-13 23:06:31 +00:00
|
|
|
{
|
2022-02-20 15:59:07 +00:00
|
|
|
home-manager.homes."dev@castle" = {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
nixpkgs = "unstable";
|
|
|
|
homeDirectory = "/home/dev";
|
|
|
|
username = "dev";
|
2022-02-14 23:47:21 +00:00
|
|
|
|
2022-02-20 15:59:07 +00:00
|
|
|
configuration = { pkgs, ... }:
|
|
|
|
{
|
|
|
|
# So home-manager will inject the sourcing of ~/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
targets.genericLinux.enable = true;
|
2022-02-17 18:36:39 +00:00
|
|
|
|
2022-02-20 15:59:07 +00:00
|
|
|
my = {
|
2022-02-20 20:16:49 +00:00
|
|
|
deploy.node = {
|
|
|
|
hostname = "h.nul.ie";
|
|
|
|
sshOpts = [ "-4" "-p" "8022" ];
|
|
|
|
};
|
2022-02-21 13:19:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
2022-02-20 15:59:07 +00:00
|
|
|
ssh.matchBlocks = {
|
|
|
|
home = {
|
|
|
|
host =
|
|
|
|
"vm keep.core fw firewall moat.vm storage cellar.vm lxd ship.vm docker whale.vm kerberos gatehouse.lxd " +
|
|
|
|
"nginx.lxd upnp.lxd souterrain.lxd drawbridge.lxd mailcow.lxd";
|
|
|
|
user = "root";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
kakoune.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2022-02-13 23:06:31 +00:00
|
|
|
};
|
|
|
|
}
|