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
|
|
@ -8,7 +8,8 @@
|
||||||
inherit (osConfig.ooknet.host) profiles;
|
inherit (osConfig.ooknet.host) profiles;
|
||||||
in {
|
in {
|
||||||
config = mkIf (elem "console-tools" profiles) {
|
config = mkIf (elem "console-tools" profiles) {
|
||||||
ooknet.tools = {
|
ooknet = {
|
||||||
|
tools = {
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
eza.enable = true;
|
eza.enable = true;
|
||||||
bat.enable = true;
|
bat.enable = true;
|
||||||
|
|
@ -22,7 +23,8 @@ in {
|
||||||
ffmpeg.enable = true;
|
ffmpeg.enable = true;
|
||||||
sourcegraph.enable = true;
|
sourcegraph.enable = true;
|
||||||
};
|
};
|
||||||
ooknet.editor.nvim.enable = true;
|
editor.nvim.enable = true;
|
||||||
ooknet.shell.fish.enable = true;
|
shell.fish.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
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