feat(home:roles): add micro-workstation role
This commit is contained in:
parent
bc0d1e1135
commit
860b503ce4
2 changed files with 25 additions and 0 deletions
|
|
@ -2,5 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./ooks-desktop-workstation.nix
|
./ooks-desktop-workstation.nix
|
||||||
./ooks-laptop-workstation.nix
|
./ooks-laptop-workstation.nix
|
||||||
|
./ooks-micro-workstation.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
24
home/roles/ooks-micro-workstation.nix
Normal file
24
home/roles/ooks-micro-workstation.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue