2023-01-03 21:17:49 -05:00
|
|
|
{ config, lib, pkgs, tokyo-night-sddm-src, ... }:
|
2024-07-05 01:46:31 -04:00
|
|
|
let
|
|
|
|
tokyo-night-sddm = pkgs.stdenv.mkDerivation {
|
|
|
|
name = "tokyo-night-sddm";
|
|
|
|
src = tokyo-night-sddm-src;
|
|
|
|
installPhase = ''
|
2023-01-03 21:17:49 -05:00
|
|
|
cp -f ${./tokyo-night-sddm/theme.conf} ./theme.conf
|
|
|
|
mkdir -p $out/share/sddm/themes/tokyo-night-sddm
|
|
|
|
mv * $out/share/sddm/themes/tokyo-night-sddm
|
|
|
|
'';
|
2024-07-05 01:46:31 -04:00
|
|
|
};
|
|
|
|
in lib.mkIf (config.platform != "mobile") {
|
|
|
|
environment.systemPackages = with pkgs.libsForQt5; [
|
|
|
|
tokyo-night-sddm # Theme
|
|
|
|
qtbase
|
|
|
|
qtsvg
|
|
|
|
qtquickcontrols2
|
|
|
|
qtgraphicaleffects
|
|
|
|
];
|
2023-01-03 21:17:49 -05:00
|
|
|
|
2024-07-05 01:46:31 -04:00
|
|
|
services.displayManager.defaultSession = "hyprland";
|
|
|
|
services.displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
wayland.enable = true;
|
|
|
|
theme = "tokyo-night-sddm";
|
|
|
|
};
|
|
|
|
}
|