diff options
-rw-r--r-- | hosts/common/optional/services/wayland.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/hosts/common/optional/services/wayland.nix b/hosts/common/optional/services/wayland.nix index bd63199..23ae90b 100644 --- a/hosts/common/optional/services/wayland.nix +++ b/hosts/common/optional/services/wayland.nix @@ -50,19 +50,6 @@ package = pkgs.master.firefox; }; - #regreet= { - # enable = true; - # settings = { - # GTK = { - # application_prefer_dark_theme = true; - # cursor_theme_name = "catppuccin-mocha-blue-cursors"; - # font_name = "Work Sans 16"; - # icon_theme_name = "Papirus-Dark"; - # theme_name = "catppuccin-mocha-blue-standard"; - # }; - # }; - #}; - sway = { enable = true; wrapperFeatures.gtk = true; @@ -71,57 +58,16 @@ waybar.enable = true; }; - #services.greetd = { - # enable = true; - # #settings = { - # # default_session = { - # # command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway"; - # # user = "greeter"; - # # }; - # #}; - #}; - security = { pam = { loginLimits = [ { domain = "@users"; item = "rtprio"; type = "-"; value = 1; } ]; - - services.login.googleAuthenticator.forwardPass = true; - }; - - polkit = { - enable = true; - extraConfig = '' - polkit.addRule(function(action, subject) { - if ( - subject.isInGroup("users") - && ( - action.id == "org.freedesktop.login1.reboot" || - action.id == "org.freedesktop.login1.reboot-multiple-sessions" || - action.id == "org.freedesktop.login1.power-off" || - action.id == "org.freedesktop.login1.power-off-multiple-sessions" - ) - ) - { - return polkit.Result.YES; - } - }) - ''; }; }; services = { blueman.enable = true; - - displayManager.sddm = { - enable = true; - wayland = { - compositor = "kwin"; - enable = true; - }; - }; - libinput.enable = true; printing.enable = true; }; |