mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 10:16:31 +05:30
31 lines
653 B
Nix
31 lines
653 B
Nix
{
|
|
flake.modules.homeManager.desktop =
|
|
{ pkgs, ... }:
|
|
{
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
package = null;
|
|
portalPackage = null;
|
|
xwayland.enable = true;
|
|
systemd.variables = [ "--all" ];
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
ags
|
|
awww
|
|
grim
|
|
slurp
|
|
hyprshot
|
|
wl-clipboard
|
|
wl-screenrec
|
|
(writeShellScriptBin "hypr-screenshot" ''
|
|
hyprshot -m region -r ppm - | satty --filename -
|
|
'')
|
|
|
|
(writeShellScriptBin "hypr-screenrecord" ''
|
|
wl-screenrec -g "$(slurp)"
|
|
'')
|
|
];
|
|
};
|
|
}
|