Add GNOME as a desktop manager, working with sway

...and wayland
This commit is contained in:
Oliver Davies 2024-05-22 21:36:26 +01:00
parent 5a0cfd10ae
commit 323df5ca10
3 changed files with 17 additions and 7 deletions

View file

@ -1,17 +1,12 @@
{ inputs, username, ... }:
{ pkgs, ... }: {
services = {
displayManager = {
defaultSession = "sway";
sddm.enable = true;
};
};
services.displayManager.defaultSession = "sway";
programs.sway.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-wlr ];
extraPortals = with pkgs; [ xdg-desktop-portal-wlr ];
};
home-manager.users.${username} = { pkgs, ... }: {