feat(home:roles): add micro-workstation role

This commit is contained in:
ooks-io 2024-06-14 20:53:40 +12:00
parent bc0d1e1135
commit 860b503ce4
2 changed files with 25 additions and 0 deletions

View file

@ -2,5 +2,6 @@
imports = [
./ooks-desktop-workstation.nix
./ooks-laptop-workstation.nix
./ooks-micro-workstation.nix
];
}

View file

@ -0,0 +1,24 @@
{ lib, osConfig, ... }:
let
inherit (lib) mkIf;
host = osConfig.ooknet.host;
in
{
config = mkIf (host.admin.name == "ooks" && host.type == "micro" && host.role == "workstation") {
ooknet = {
theme = "minimal";
desktop = {
environment = "hyprland";
browser = "firefox";
terminal = "foot";
discord = "vesktop";
};
console = {
editor = "helix";
multiplexer = "zellij";
};
};
};
}