make kde and sway coexist
This commit is contained in:
parent
0e8bf2d690
commit
c4aacf0211
4 changed files with 22 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -93,4 +93,5 @@
|
|||
}
|
||||
];
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
services.xserver.displayManager.defaultSession = lib.mkForce "sway";
|
||||
}
|
||||
|
|
|
@ -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
15
config/sway.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue