wayvnc
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ in
|
|||||||
logseq # notes
|
logseq # notes
|
||||||
ani-cli
|
ani-cli
|
||||||
brave
|
brave
|
||||||
|
wayvnc
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,5 +34,6 @@
|
|||||||
./sway.nix
|
./sway.nix
|
||||||
./gpu-screen-recorder-ui.nix
|
./gpu-screen-recorder-ui.nix
|
||||||
./niri.nix
|
./niri.nix
|
||||||
|
./wayvnc.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
23
modules/graphical/wayvnc.nix
Normal file
23
modules/graphical/wayvnc.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user