Add polkit support
This commit is contained in:
parent
62a55c2b45
commit
db0e55a89c
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
security.polkit.enable = true;
|
||||||
security.sudo.enable = true;
|
security.sudo.enable = true;
|
||||||
security.sudo.package = pkgs.sudo.override {withInsults = true;}; # I'm spanish and I love cursing
|
security.sudo.package = pkgs.sudo.override {withInsults = true;}; # I'm spanish and I love cursing
|
||||||
# security.pam.services.swaylock = { };
|
# security.pam.services.swaylock = { };
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
settings = {
|
settings = {
|
||||||
# autostart
|
# autostart
|
||||||
exec-once = [
|
exec-once = [
|
||||||
|
"${pkgs.lxqt.lxqt-policykit}/bin/lxqt-policykit-agent &"
|
||||||
"nm-applet &"
|
"nm-applet &"
|
||||||
"wl-clip-persist --clipboard both &"
|
"wl-clip-persist --clipboard both &"
|
||||||
"bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'"
|
"bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'"
|
||||||
|
|
Loading…
Reference in a new issue