wms: remove xfce and niri
This commit is contained in:
parent
89ca030a5f
commit
be562f8ec3
2 changed files with 0 additions and 72 deletions
|
@ -1,49 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
cfg = config.programs.niri;
|
|
||||||
inherit (pkgs) xdg-desktop-portal-gtk xdg-desktop-portal-gnome;
|
|
||||||
in {
|
|
||||||
programs.niri = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
programs.xwayland.enable = lib.mkForce false;
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
|
||||||
environment.systemPackages = builtins.attrValues {
|
|
||||||
inherit (pkgs) wmenu swaylock avizo playerctl xwayland-satellite;
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.services.niri-polkit = {
|
|
||||||
description = "PolicyKit Authentication Agent for niri";
|
|
||||||
wantedBy = ["niri.service"];
|
|
||||||
after = ["graphical-session.target"];
|
|
||||||
partOf = ["graphical-session.target"];
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "simple";
|
|
||||||
ExecStart = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = 1;
|
|
||||||
TimeoutStopSec = 10;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.displayManager.sessionPackages = [
|
|
||||||
cfg.package
|
|
||||||
];
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
configPackages = [cfg.package];
|
|
||||||
|
|
||||||
# Recommended by upstream, required for screencast support
|
|
||||||
# https://github.com/YaLTeR/niri/wiki/Important-Software#portals
|
|
||||||
extraPortals = [
|
|
||||||
xdg-desktop-portal-gnome
|
|
||||||
xdg-desktop-portal-gtk
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
in {
|
|
||||||
services.xserver = {
|
|
||||||
enable = true;
|
|
||||||
desktopManager = {
|
|
||||||
xterm.enable = false;
|
|
||||||
xfce = {
|
|
||||||
enable = true;
|
|
||||||
enableWaylandSession = true;
|
|
||||||
waylandSessionCompositor = lib.getExe pkgs.niri;
|
|
||||||
|
|
||||||
noDesktop = false;
|
|
||||||
enableXfwm = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.displayManager.defaultSession = "xfce";
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue