gnome as secondary backup for xwayland

This commit is contained in:
twoneis 2024-06-21 14:43:43 +02:00
parent af1cca60b4
commit cd97587f66
3 changed files with 9 additions and 10 deletions

View file

@ -5,7 +5,7 @@
withBluetooth = true; withBluetooth = true;
withNiri = true; withNiri = true;
withGnome = false; withGnome = true;
withVM = false; withVM = false;
withContainers = true; withContainers = true;

View file

@ -1,11 +1,4 @@
{ pkgs, lib, config, ... }: lib.mkIf (config.withGnome) { { pkgs, lib, config, ... }: lib.mkIf (config.withGnome) {
services.xserver.desktopManager.gnome.enable = true; services.xserver.displayManager.sessionPackages = [ pkgs.gnome.gnome-session.sessions ];
environment.systemPackages = [ pkgs.gnome.gnome-shell pkgs.gnome-randr ];
services.gnome.core-utilities.enable = false;
environment.gnome.excludePackages = [ pkgs.gnome-tour ];
environment.systemPackages = with pkgs; [
gnomeExtensions.paperwm
gnome.gnome-characters
];
} }

View file

@ -89,6 +89,12 @@
start = " start = "
niri-session niri-session
"; ";
gnome-init = "
gnome-randr modify DP-1 -m 5120x2160@59.940
";
start-gnome = "
gnome-shell --wayland
";
}; };
shellAbbrs = { shellAbbrs = {
ga = "git add"; ga = "git add";