This commit is contained in:
martyTF 2026-03-29 08:21:53 +02:00
commit d0413cb830
15 changed files with 219 additions and 130 deletions

View file

@ -15,7 +15,7 @@
default = [
",preferred,auto,1"
];
description = ''declare monitors'';
description = "declare monitors";
};
workspaces = {
workspaces = lib.mkOption {
@ -32,11 +32,11 @@
) config.desktop.hyprland.workspaces.amount
)
);
description = ''declare workspace'';
description = "declare workspace";
};
amount = lib.mkOption {
default = 9;
description = ''declare workspace amount'';
description = "declare workspace amount";
};
};
numlock = lib.mkEnableOption "numlock by default";
@ -78,6 +78,11 @@
settings = {
monitor = config.desktop.hyprland.monitors;
workspace = config.desktop.hyprland.workspaces.workspaces;
env = [
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland"
];
exec-once = [
#"hyprctl plugin load "
(lib.mkIf (config.desktop.walker.enable) "elephant")
@ -87,6 +92,7 @@
(lib.mkIf (config.desktop.wallpaper.enable) "waypaper --restore --random")
(lib.mkIf (config.gaming.steam.enable) "adwaita-steam-gtk -u; steam -silent")
(lib.mkIf (config.internet.mail.providers.protonmail.enable) "protonmail-bridge -n")
"echo $HYPRLAND_INSTANCE_SIGNATURE > ~/.config/hypr/instance_signature"
];
"$mod" = "SUPER";
"$shiftmod" = "SUPER_SHIFT";

View file

@ -11,6 +11,10 @@
./vscodium.nix
./python.nix
./godot.nix
./openssl.nix
];
home.packages = with pkgs; [
bc
imagemagick
];
}

View file

@ -0,0 +1,12 @@
{
config,
lib,
pkgs,
...
}:
{
home.packages = with pkgs; [
openssl
];
}

View file

@ -14,7 +14,6 @@
config = lib.mkIf config.gaming.steam.enable {
home.packages = with pkgs; [
steam
adwsteamgtk
];
};

View file

@ -13,6 +13,8 @@
mpv.enable = lib.mkEnableOption "enable mpv";
kdenlive.enable = lib.mkEnableOption "enable kdenlive";
tsukimi.enable = lib.mkEnableOption "enable tsukimi (jellyfin client)";
jellyfin.enable = lib.mkEnableOption "enable jellyin (jellyfin client)";
pipeline.enable = lib.mkEnableOption "enable pipeline (you/peertube client)";
};
};
};
@ -22,10 +24,14 @@
kdenlive.enable = lib.mkDefault true;
mpv.enable = lib.mkDefault true;
tsukimi.enable = lib.mkDefault true;
jellyfin.enable = lib.mkDefault true;
pipeline.enable = lib.mkDefault true;
};
home.packages = with pkgs; [
(lib.mkIf (config.media.video.kdenlive.enable) kdePackages.kdenlive)
(lib.mkIf (config.media.video.tsukimi.enable) tsukimi)
(lib.mkIf (config.media.video.jellyfin.enable) jellyfin-desktop)
(lib.mkIf (config.media.video.pipeline.enable) pipeline)
];
programs = {
mpv = lib.mkIf config.media.video.mpv.enable {