desktop building?

This commit is contained in:
mjallen18
2025-07-20 18:35:14 -05:00
parent 91be65bc39
commit 608a6ce9b8
51 changed files with 535 additions and 299 deletions

View File

@@ -5,13 +5,48 @@ with lib;
enable = mkEnableOption "enable hyprland desktop";
primaryDisplay = mkOption {
type = types.string;
type = types.str;
default = "DP-1";
};
display1 = {
input = mkOption {
type = types.str;
default = "DP-1";
};
resolution = mkOption {
type = types.str;
default = "3840x2160";
};
refreshRate = mkOptions {
type = types.str;
default = "240.00000";
};
};
display2 = {
input = mkOption {
type = types.str;
default = "DP-1";
};
resolution = mkOption {
type = types.str;
default = "3840x2160";
};
refreshRate = mkOptions {
type = types.str;
default = "240.00000";
};
};
wallpaper = mkOption {
type = types.string;
default = "/run/wallpaper.jpeg";
type = with types; listOf str;
default = [];
description = "list of hyprland wallpaper configs";
};
monitor = mkOption {
@@ -44,6 +79,16 @@ with lib;
description = "any extra options";
};
iconThemeName = mkOption {
type = types.str;
default = "Colloid-Dark";
};
gtkThemeName = mkOption {
type = types.str;
default = "Colloid-Dark";
};
defaultApps = mkOption {
type = types.submodule {
options = {
@@ -62,15 +107,15 @@ with lib;
hyprIdle = {
lockScreenTimer = mkOption {
type = with types; null || signed integer || floating point number;
type = with types; int;
default = 5;
};
screenOffTimer = mkOption {
type = with types; null || signed integer || floating point number;
type = with types; int;
default = 15;
};
suspendTimer = mkOption {
type = with types; null || signed integer || floating point number;
type = with types; int;
default = 30;
};
};