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