This commit is contained in:
Kopatz
2026-01-17 18:11:45 +01:00
parent d8a6a56f6e
commit c2c536cd24
6 changed files with 29 additions and 0 deletions

View File

@@ -253,6 +253,7 @@ in
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
#swaylock = "${pkgs.swaylock}/bin/swaylock"; #swaylock = "${pkgs.swaylock}/bin/swaylock";
hyprlock = "${pkgs.hyprlock}/bin/hyprlock"; hyprlock = "${pkgs.hyprlock}/bin/hyprlock";
hyprpicker = "${pkgs.hyprpicker}/bin/hyprpicker";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
peek = "${pkgs.peek}/bin/peek"; peek = "${pkgs.peek}/bin/peek";
zenity = "${pkgs.zenity}/bin/zenity"; zenity = "${pkgs.zenity}/bin/zenity";
@@ -266,6 +267,7 @@ in
"$mainMod, M, exec, ${zenity} --question --text='Quit Hyprland?' && hyprctl dispatch exit" "$mainMod, M, exec, ${zenity} --question --text='Quit Hyprland?' && hyprctl dispatch exit"
"$mainMod, E, exec, ${thunar}" "$mainMod, E, exec, ${thunar}"
"$mainMod, P, pin" "$mainMod, P, pin"
"$mainMod SHIFT, P, exec, ${hyprpicker} --autocopy"
"$mainMod, F, fullscreen" "$mainMod, F, fullscreen"
"$mainMod, V, togglefloating" "$mainMod, V, togglefloating"
"$mainMod, T, togglegroup" "$mainMod, T, togglegroup"

View File

@@ -42,6 +42,7 @@ in
logseq # notes logseq # notes
ani-cli ani-cli
brave brave
wayvnc
]; ];
}; };
} }

View File

@@ -34,5 +34,6 @@
./sway.nix ./sway.nix
./gpu-screen-recorder-ui.nix ./gpu-screen-recorder-ui.nix
./niri.nix ./niri.nix
./wayvnc.nix
]; ];
} }

View File

@@ -0,0 +1,23 @@
{
config,
pkgs,
inputs,
lib,
...
}:
with lib;
let
cfg = config.custom.graphical.wayvnc;
in
{
options.custom.graphical.wayvnc = {
enable = mkEnableOption "Enables wayvnc";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wayvnc
];
networking.firewall.allowedTCPPorts = [ 5900 ];
};
}

View File

@@ -105,6 +105,7 @@ in
base16Scheme = import ../../modules/themes/ina.nix; base16Scheme = import ../../modules/themes/ina.nix;
image = ../../wallpaper/ina.jpg; image = ../../wallpaper/ina.jpg;
}; };
wayvnc.enable = true;
}; };
}; };

View File

@@ -114,6 +114,7 @@
base16Scheme = import ../../modules/themes/ina.nix; base16Scheme = import ../../modules/themes/ina.nix;
image = ../../wallpaper/ina.jpg; image = ../../wallpaper/ina.jpg;
}; };
wayvnc.enable = true;
}; };
}; };