Both are flake inputs on their local checkouts, like tbctl (commit there, then `nix flake update <input>` here). hyprchrome-claude is the HyprChrome desktop app around the claude CLI. hyprchrome-files becomes the default file manager (inode/directory, SUPER+E via the new homelab.desktop.fileManager) and the FileChooser portal. Both defaults are set system-wide rather than through its home-manager module, which would take over mimeapps.list and write a hyprland-portals.conf that shadows portals.conf for every other portal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
996 B
Nix
32 lines
996 B
Nix
{ lib, ... }:
|
|
|
|
# Per-host knobs for the shared desktop; set via
|
|
# home-manager.users.darman.homelab.desktop in hosts/<h>/configuration.nix.
|
|
{
|
|
options.homelab.desktop = {
|
|
monitors = lib.mkOption {
|
|
type = lib.types.listOf lib.types.attrs;
|
|
description = "hl.monitor() tables; the greeter reuses them.";
|
|
};
|
|
primaryOutput = lib.mkOption {
|
|
type = lib.types.str;
|
|
description = "Connector that gets the bar, OSDs, the game workspace and the greeter.";
|
|
};
|
|
secondaryOutput = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "";
|
|
description = "Connector for the debug widget stage; empty = last screen.";
|
|
};
|
|
fileManager = lib.mkOption {
|
|
type = lib.types.str;
|
|
default = "cosmic-files";
|
|
description = "Command SUPER+E runs.";
|
|
};
|
|
wallpaper = lib.mkOption {
|
|
type = lib.types.nullOr lib.types.str;
|
|
default = null;
|
|
description = "Image path for hyprpaper; null leaves hyprpaper off.";
|
|
};
|
|
};
|
|
}
|