add: desktop xdg integration
This commit is contained in:
@@ -22,6 +22,7 @@ in {
|
||||
})
|
||||
../../apps/gaming.nix
|
||||
../../apps/appimage.nix
|
||||
../../desktop
|
||||
../../graphics
|
||||
../../pwrMgmt
|
||||
../../networking/core.nix
|
||||
@@ -74,7 +75,6 @@ in {
|
||||
brightnessctl
|
||||
wttrbar
|
||||
cliphist
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-utils
|
||||
flatpak-xdg-utils
|
||||
desktop-file-utils
|
||||
@@ -89,6 +89,10 @@ in {
|
||||
# Enable Polkit
|
||||
security.polkit.enable = true;
|
||||
|
||||
# Enable desktop support (sway)
|
||||
desktop.sway.enable = true;
|
||||
desktop.displayManager = "ly";
|
||||
|
||||
# Graphics module (../../graphics/default.nix)
|
||||
graphics = {
|
||||
enable = true;
|
||||
@@ -189,27 +193,6 @@ in {
|
||||
# AppImage support
|
||||
appimage.enable = true;
|
||||
|
||||
# XDG stuff
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
config = {
|
||||
sway = {
|
||||
default = ["wlr" "gtk"];
|
||||
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||
};
|
||||
common = {
|
||||
default = ["gtk"];
|
||||
"org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
|
||||
};
|
||||
};
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-wlr
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# sched_ext userspace CPU scheduling stuff - idk
|
||||
services.scx = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user