Merge pull request #487 from DarkKirb/coexist-sway-kde
make kde and sway coexist
This commit is contained in:
commit
72f1655c02
4 changed files with 22 additions and 5 deletions
|
@ -20,7 +20,8 @@ in {
|
||||||
./services/cups.nix
|
./services/cups.nix
|
||||||
./services/docker.nix
|
./services/docker.nix
|
||||||
./services/cifs.nix
|
./services/cifs.nix
|
||||||
#./kde.nix
|
./kde.nix
|
||||||
|
./sway.nix
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if system == "x86_64-linux"
|
if system == "x86_64-linux"
|
||||||
|
|
|
@ -93,4 +93,5 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
services.xserver.displayManager.defaultSession = lib.mkForce "sway";
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
displayManager.sddm.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
displayManager.sddm.wayland.enable = true;
|
displayManager.sddm.wayland.enable = true;
|
||||||
#desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
desktopManager.plasma5.enable = true;
|
#desktopManager.plasma5.enable = true;
|
||||||
#displayManager.defaultSession = "plasma";
|
displayManager.defaultSession = "plasma";
|
||||||
displayManager.defaultSession = "plasmawayland";
|
#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