make kde and sway coexist

This commit is contained in:
Charlotte 🦝 Delenk 2024-07-23 08:53:05 +02:00
parent 0e8bf2d690
commit c4aacf0211
4 changed files with 22 additions and 5 deletions

View file

@ -20,7 +20,8 @@ in {
./services/cups.nix
./services/docker.nix
./services/cifs.nix
#./kde.nix
./kde.nix
./sway.nix
]
++ (
if system == "x86_64-linux"

View file

@ -93,4 +93,5 @@
}
];
hardware.enableRedistributableFirmware = true;
services.xserver.displayManager.defaultSession = lib.mkForce "sway";
}

View file

@ -3,9 +3,9 @@
services.xserver = {
displayManager.sddm.enable = true;
displayManager.sddm.wayland.enable = true;
#desktopManager.plasma6.enable = true;
desktopManager.plasma5.enable = true;
#displayManager.defaultSession = "plasma";
displayManager.defaultSession = "plasmawayland";
desktopManager.plasma6.enable = true;
#desktopManager.plasma5.enable = true;
displayManager.defaultSession = "plasma";
#displayManager.defaultSession = "plasmawayland";
};
}

15
config/sway.nix Normal file
View file

@ -0,0 +1,15 @@
{
system,
config,
pkgs,
lib,
...
}: {
programs.sway.enable = true;
programs.sway.package = config.home-manager.users.darkkirb.wayland.windowManager.sway.package;
security.pam.services.sddm.u2fAuth = true;
services.xserver = {
displayManager.sddm.enable = true;
displayManager.sddm.wayland.enable = true;
};
}