add some packages and configure screen sharing
This commit is contained in:
parent
0c48f50a19
commit
dc084edd94
@ -84,6 +84,8 @@
|
|||||||
usbutils
|
usbutils
|
||||||
wget
|
wget
|
||||||
powertop
|
powertop
|
||||||
|
cpufrequtils
|
||||||
|
lm_sensors
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
LIBVA_DRIVER_NAME = "iHD";
|
LIBVA_DRIVER_NAME = "iHD";
|
||||||
VDPAU_DRIVER = "iHD";
|
VDPAU_DRIVER = "iHD";
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
XDG_CURRENT_DESKTOP = "sway";
|
XDG_CURRENT_DESKTOP = "Unity";
|
||||||
#QT_QPA_PLATFORMTHEME = "wayland-egl";
|
#QT_QPA_PLATFORMTHEME = "wayland-egl";
|
||||||
GST_VAAPI_ALL_DRIVERS = "1";
|
GST_VAAPI_ALL_DRIVERS = "1";
|
||||||
GTK_THEME = "Arc";
|
GTK_THEME = "Arc";
|
||||||
@ -47,6 +47,8 @@
|
|||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
swaylock
|
swaylock
|
||||||
swayidle
|
swayidle
|
||||||
|
slurp
|
||||||
|
grim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -57,7 +59,7 @@
|
|||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
xdg.portal = { # Required for flatpak with windowmanagers
|
xdg.portal = { # Required for flatpak with windowmanagers
|
||||||
enable = true;
|
#enable = true;
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
wlr.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -41,10 +41,14 @@
|
|||||||
fullscreen_opacity=1
|
fullscreen_opacity=1
|
||||||
blur=false
|
blur=false
|
||||||
drop_shadow=false
|
drop_shadow=false
|
||||||
|
blur_new_optimizations=true
|
||||||
}
|
}
|
||||||
animations {
|
animations {
|
||||||
enabled=true
|
enabled=true
|
||||||
}
|
}
|
||||||
|
misc {
|
||||||
|
no_vfr=false
|
||||||
|
}
|
||||||
input {
|
input {
|
||||||
kb_layout=us
|
kb_layout=us
|
||||||
follow_mouse=1
|
follow_mouse=1
|
||||||
@ -114,6 +118,8 @@
|
|||||||
exec-once=${pkgs.waybar}/bin/waybar
|
exec-once=${pkgs.waybar}/bin/waybar
|
||||||
exec-once=${pkgs.blueman}/bin/blueman-applet
|
exec-once=${pkgs.blueman}/bin/blueman-applet
|
||||||
exec-once=${pkgs.swayidle}/bin/swayidle -w timeout 600 "${pkgs.swaylock}/bin/swaylock -f" timeout 300 "${pkgs.hyprland}/bin/hyprctl dispatch dpms off" resume "${pkgs.hyprland}/bin/hyprctl dispatch dpms on" before-sleep "${pkgs.swaylock}/bin/swaylock -f"
|
exec-once=${pkgs.swayidle}/bin/swayidle -w timeout 600 "${pkgs.swaylock}/bin/swaylock -f" timeout 300 "${pkgs.hyprland}/bin/hyprctl dispatch dpms off" resume "${pkgs.hyprland}/bin/hyprctl dispatch dpms on" before-sleep "${pkgs.swaylock}/bin/swaylock -f"
|
||||||
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.swaylock.settings = {
|
programs.swaylock.settings = {
|
||||||
|
Loading…
Reference in New Issue
Block a user