feat(home:roles) add ooks-laptop-workstation

This commit is contained in:
ooks-io 2024-06-12 22:26:49 +12:00
parent 6cdfe70495
commit fa926b9453
3 changed files with 28 additions and 1 deletions

View file

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

View file

@ -1,4 +1,4 @@
{ lib, config, osConfig, ... }:
{ lib, osConfig, ... }:
let
inherit (lib) mkIf;

View file

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