desktop is building I guess, idk, need to start commiting stuff eventually lmao

This commit is contained in:
mjallen18
2025-07-17 20:57:18 -05:00
parent 6c7c76887b
commit 442c24997d
219 changed files with 3166 additions and 3583 deletions

View File

@@ -0,0 +1,67 @@
{ lib, namespace, ... }:
with lib;
{
options.${namespace}.desktop.hyprland = {
enable = mkEnableOption "enable hyprland desktop";
primaryDisplay = mkOption {
type = types.string;
default = "DP-1";
};
wallpaper = mkOption {
type = types.string;
default = "/run/wallpaper.jpeg";
};
monitor = mkOption {
type = with types; listOf str;
default = [];
description = "list of hyprland monitor configs";
};
monitorv2 = mkOption {
type = with types; listOf str;
default = [];
description = "list of hyprland monitorv2 configs";
};
workspace = mkOption {
type = with types; listOf str;
default = [];
description = "list of hyprland workspace definitions";
};
windowRule = mkOption {
type = with types; listOf str;
default = [];
description = "list of hyprland window rules";
};
extraConfig = mkOption {
type = with types; str;
default = '''';
description = "any extra options";
};
defaultApps = mkOption {
type = attrs;
default = { };
};
hyprIdle = {
lockScreenTimer = mkOption {
type = with types; null || signed integer || floating point number;
default = 5;
};
screenOffTimer = mkOption {
type = with types; null || signed integer || floating point number;
default = 15;
};
suspendTimer = mkOption {
type = with types; null || signed integer || floating point number;
default = 30;
};
};
};
}