From 860b503ce4ad761ccd16779a9391f9c25a2b42c5 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 14 Jun 2024 20:53:40 +1200 Subject: [PATCH] feat(home:roles): add micro-workstation role --- home/roles/default.nix | 1 + home/roles/ooks-micro-workstation.nix | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 home/roles/ooks-micro-workstation.nix diff --git a/home/roles/default.nix b/home/roles/default.nix index c4bfdf2..17bc58f 100644 --- a/home/roles/default.nix +++ b/home/roles/default.nix @@ -2,5 +2,6 @@ imports = [ ./ooks-desktop-workstation.nix ./ooks-laptop-workstation.nix + ./ooks-micro-workstation.nix ]; } diff --git a/home/roles/ooks-micro-workstation.nix b/home/roles/ooks-micro-workstation.nix new file mode 100644 index 0000000..401cb67 --- /dev/null +++ b/home/roles/ooks-micro-workstation.nix @@ -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"; + }; + }; + }; +}