feat(home:roles) add ooks-laptop-workstation
This commit is contained in:
parent
6cdfe70495
commit
fa926b9453
3 changed files with 28 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./ooks-desktop-workstation.nix
|
||||
./ooks-laptop-workstation.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, osConfig, ... }:
|
||||
{ lib, osConfig, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
|
|
|
|||
26
home/roles/ooks-laptop-workstation.nix
Normal file
26
home/roles/ooks-laptop-workstation.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue