home: tweaks to console-tools profile & add vm profile
This commit is contained in:
parent
45a1dd0a9a
commit
6ccdce3710
2 changed files with 34 additions and 15 deletions
17
home/roles/ooks-vm-server.nix
Normal file
17
home/roles/ooks-vm-server.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue