console: add minimal profile

This commit is contained in:
ooks-io 2024-10-26 21:42:29 +11:00
parent 667c64f3ea
commit 463029b74a
2 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./standard.nix
./minimal.nix
];
}

View file

@ -0,0 +1,20 @@
{
lib,
config,
...
}: let
inherit (lib) mkIf;
inherit (config.ooknet.console) profile;
in {
config = mkIf (profile == "minimal") {
ooknet.console = {
editor = "nvim";
multiplexer = "zellij";
tools = {
git.enable = true;
starship.enable = true;
ssh.enable = true;
};
};
};
}