console: add minimal profile
This commit is contained in:
parent
667c64f3ea
commit
463029b74a
2 changed files with 21 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./standard.nix
|
./standard.nix
|
||||||
|
./minimal.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
20
modules/nixos/console/profile/minimal.nix
Normal file
20
modules/nixos/console/profile/minimal.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue