home: tweaks to console-tools profile & add vm profile

This commit is contained in:
ooks-io 2024-10-20 13:54:25 +13:00
parent 45a1dd0a9a
commit 6ccdce3710
2 changed files with 34 additions and 15 deletions

View file

@ -0,0 +1,17 @@
{
lib,
osConfig,
...
}: let
inherit (lib) mkIf;
inherit (osConfig.ooknet) host;
in {
config = mkIf (host.admin.name == "ooks" && host.type == "vm" && host.role == "server") {
ooknet = {
console = {
editor = "nvim";
multiplexer = "zellij";
};
};
};
}